dodal.common.visit.StaticVisitPathProvider#

class dodal.common.visit.StaticVisitPathProvider[source]#

Static (single visit) implementation of PathProvider whilst awaiting auth infrastructure to generate necessary information per-scan. Allows setting a singular visit into which all run files will be saved. update() queries a visit service to get the next DataCollectionIdentifier to increment the suffix of all file writers’ next files. Requires that all detectors are running with a mutual view on the filesystem. Supports a single Visit which should be passed as a Path relative to the root of the Detector IOC mounting. i.e. to write to visit /dls/ixx/data/YYYY/cm12345-1

Parameters:

Methods

data_session()

update(**kwargs)

Creates a new data collection in the current visit.

async update(**kwargs) None[source]#

Creates a new data collection in the current visit.

Return type:

None