FileTemplates¶
-
class
lsst.daf.butler.
FileTemplates
(config, default=None)¶ Bases:
object
Collection of
FileTemplate
templates.Parameters: - config :
FileTemplatesConfig
orstr
Load configuration.
Methods Summary
getTemplate
(datasetType)Retrieve the FileTemplate
associated with the dataset type.Methods Documentation
-
getTemplate
(datasetType)¶ Retrieve the
FileTemplate
associated with the dataset type.Parameters: - datasetType :
str
Dataset type name.
Returns: - template :
FileTemplate
Template instance to use with that dataset type.
Raises: - KeyError
No template could be located for this Dataset type.
- datasetType :
- config :