lsst.daf.persistence  21.0.0+48431fa087
Public Member Functions | Public Attributes | List of all members
lsst.daf.persistence.dataId.DataId Class Reference
Inheritance diagram for lsst.daf.persistence.dataId.DataId:

Public Member Functions

def __init__ (self, initialdata=None, tag=None, **kwargs)
 
def __repr__ (self)
 

Public Attributes

 tag
 

Detailed Description

DataId is used to pass scientifically meaningful key-value pairs. It may be tagged as applicable only
to repositories that are tagged with the same value

Definition at line 29 of file dataId.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.daf.persistence.dataId.DataId.__init__ (   self,
  initialdata = None,
  tag = None,
**  kwargs 
)
Constructor

Parameters
-----------
initialdata : dict or dataId
    A dict of initial data for the DataId
tag : any type, or a container of any type
    A value or container of values used to restrict the DataId to one or more repositories that
    share that tag value. It will be stored in a set for comparison with the set of tags assigned to
    repositories.
kwargs : any values
    key-value pairs to be used as part of the DataId's data.

Definition at line 33 of file dataId.py.

Member Function Documentation

◆ __repr__()

def lsst.daf.persistence.dataId.DataId.__repr__ (   self)

Definition at line 64 of file dataId.py.

Member Data Documentation

◆ tag

lsst.daf.persistence.dataId.DataId.tag

Definition at line 49 of file dataId.py.


The documentation for this class was generated from the following file: