find_by_name#

classmethod DatasetDef.find_by_name(database, name)#

Find a dataset definition by name in a given database.

Parameters:
databaseDatabase

Database to search for the dataset definition.

namestr

Name of the dataset definition.

Returns:
DatasetDef

Dataset definition object found. If a dataset isn’t found, the dataset’s is_null attribute is set to True.