diff --git a/github/ObjectCapacities/Basic.py b/github/ObjectCapacities/Basic.py index c028fea8..ba34c555 100644 --- a/github/ObjectCapacities/Basic.py +++ b/github/ObjectCapacities/Basic.py @@ -20,6 +20,7 @@ class AttributeFromCallable: def apply( self, cls ): cls._addAttribute( self.__name, AttributeFromCallable.AttributeDefinition( self.__name, self.__callable ) ) +### @todo include the ArgumentsChecker class MethodFromCallable: def __init__( self, name, callable ): self.__name = name diff --git a/github/ObjectCapacities/List.py b/github/ObjectCapacities/List.py index 63e7d9af..42a36b16 100644 --- a/github/ObjectCapacities/List.py +++ b/github/ObjectCapacities/List.py @@ -108,6 +108,7 @@ class ListDeletable: def __execute( self, obj ): obj._github._statusRequest( "DELETE", obj._baseUrl + "/" + self.__attributeName, None, None ) +### @todo use SeveralAttributes class ExternalListOfObjects: def __init__( self, attributeName, type, *capacities ): self.attributeName = attributeName