Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def settings(self):
"""Returns metadata about the label times."""
return {
'compose_version': __version__,
'schema_version': SCHEMA_VERSION,
'label_times': {
'target_entity': self.target_entity,
'target_columns': self.target_columns,
'target_types': self.target_types.to_dict(),
'search_settings': self.search_settings,
'transforms': self.transforms,
}