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