Base
Base class
Base class for all classes in the package. It provides rich printing and persistence of objects.
- class edsl.Base.Base[source]
Bases:
RepresentationMixin
,PersistenceMixin
,DiffMethodsMixin
,HashingMixin
,ABC
Base class for all classes in the package.
- class edsl.Base.PersistenceMixin[source]
Bases:
object
Mixin for saving and loading objects to and from files.
- classmethod delete(uuid: str | UUID | None = None, url: str | None = None)[source]
Delete the object from coop.
- classmethod patch(uuid: str | UUID | None = None, url: str | None = None, description: str | None = None, alias: str | None = None, value: Any | None = None, visibility: str | None = None)[source]
Patch an uploaded objects attributes. - description changes the description of the object on Coop - value changes the value of the object on Coop. has to be an EDSL object - visibility changes the visibility of the object on Coop
- classmethod pull(uuid: str | UUID | None = None, url: str | None = None, expected_parrot_url: str | None = None)[source]
Pull the object from coop.
- push(description: str | None = None, alias: str | None = None, visibility: str | None = 'unlisted', expected_parrot_url: str | None = None)[source]
Post the object to coop.
- class edsl.Base.RegisterSubclassesMeta(name, bases, namespace, /, **kwargs)[source]
Bases:
ABCMeta
Metaclass for registering subclasses.