sdv/metadata/table.py
def to_dict(self):
        """Get a dict representation of this metadata.

        Returns:
            dict:
                dict representation of this metadata.
        """
        return {
            'fields': copy.deepcopy(self._fields_metadata),
            'constraints': [
                constraint if isinstance(constraint, dict) else constraint.to_dict()
                for constraint in self._constraints
            ],
            'model_kwargs': copy.deepcopy(self._model_kwargs),
            'name': self.name,
            'primary_key': self._primary_key,
            'sequence_index': self._sequence_index,
            'entity_columns': self._entity_columns,
            'context_columns': self._context_columns,
        }
Get a dict representation of this metadata.

        Returns:
            dict:
                dict representation of this metadata.
        
Get a dict representation of this metadata.
Get a dict representation of this metadata .
def to_dict(self):
        return {
            'fields': copy.deepcopy(self._fields_metadata),
            'constraints': [
                constraint if isinstance(constraint, dict) else constraint.to_dict()
                for constraint in self._constraints
            ],
            'model_kwargs': copy.deepcopy(self._model_kwargs),
            'name': self.name,
            'primary_key': self._primary_key,
            'sequence_index': self._sequence_index,
            'entity_columns': self._entity_columns,
            'context_columns': self._context_columns,
        }
def to_dict ( self ) : return { 'fields' : copy . deepcopy ( self . _fields_metadata ) , 'constraints' : [ constraint if isinstance ( constraint , dict ) else constraint . to_dict ( ) for constraint in self . _constraints ] , 'model_kwargs' : copy . deepcopy ( self . _model_kwargs ) , 'name' : self . name , 'primary_key' : self . _primary_key , 'sequence_index' : self . _sequence_index , 'entity_columns' : self . _entity_columns , 'context_columns' : self . _context_columns , }
Get a dict representation of this metadata.
Get a dict representation of this metadata .
"""Get a dict representation of this metadata.

        Returns:
            dict:
                dict representation of this metadata.
        """
dict representation of this metadata.
dict representation of this metadata .
dict
self