readSdmSchemaFile¶
- lsst.ap.association.readSdmSchemaFile(schemaFile: str, schemaName: str = 'ApdbSchema')¶
Read a schema file in YAML format.
- Parameters:
- Returns:
- schemaTabledict[str, schema_model.Table]
A dict of the schemas in the given table defined in the specified file.
- Raises:
- ValueError
If the schema file can’t be parsed.