WithReference¶
-
class
utilipy.utils.WithReference(wrapped: Any, *, doc: Optional[str] = None, reference: Optional[Any] = None, **kw)[source]¶ Bases:
utilipy.utils.collections.WithMeta,utilipy.utils.collections.WithDocstringObjects wrapt to include reference(s) and other metadata.
Notes
see
metadatafor usage of the metadata module.- Attributes
metaMetaDataMetadata.
Object wrapt to include a reference, and any other metadata.
- Parameters
- wrappedAny
WithMetawraps anything, just adding metadata.- reference: Any, optional
The attribution for the object, such as a paper link.
- kwDict[Any, Any], any
the key, value pairs for the metadata