Collection.is_valid#
- classmethod Collection.is_valid( ) bool[source]#
Utility method to check whether
validate()raises an exception.- Parameters:
data – The members of the collection which ought to be validated. The dictionary must contain exactly one entry per member with the name of the member as key.
cast – Whether columns with a wrong data type in the member data frame are cast to their schemas’ defined data types if possible.
- Returns:
Whether the provided members satisfy the invariants of the collection.
- Raises:
ValueError – If an insufficient set of input data frames is provided, i.e. if any required member of this collection is missing in the input.