You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
import pinject
import abc
class AbstrctClass(object):
... metaclass = abc.ABCMeta
...
class SomeClass(AbstrctClass):
... pass
...
obj_graph = pinject.new_object_graph(modules=None, classes=[AbstrctClass])
Traceback (most recent call last):
File "", line 1, in
File "/google/src/cloud/daming/fix/google3/third_party/py/pinject/object_graph.py", line 159, in new_object_graph
raise e
pinject.errors.WrongArgElementTypeError: wrong type for element 0 of arg classes: expected type but got ABCMeta
The text was updated successfully, but these errors were encountered:
For example:
The text was updated successfully, but these errors were encountered: