| |
- builtins.object
-
- Repository
class Repository(builtins.object) |
|
Repository(name: str, url: str, status: ai_core_sdk.models.repository_status.RepositoryStatus = None, *args, **kwargs)
The Repository object defines the repository
:param name: name of the repository
:type name: str
:param url: URL of the repository
:type url: str
:param status: status of the repository, defaults to None
:type status: class:`ai_core_sdk.models.repository_status.RepositoryStatus`, optional |
|
Methods defined here:
- __init__(self, name: str, url: str, status: ai_core_sdk.models.repository_status.RepositoryStatus = None, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(repository_dict: Dict[str, str])
- Returns a :class:`ai_core_sdk.models.repository.Repository` object, created
from the values in the dict provided as parameter
:param repository_dict: Dict which includes the necessary values to create the object
:type repository_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_core_sdk.models.repository.Repository`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |