labgrid.provider package

Submodules

labgrid.provider.fileprovider module

class labgrid.provider.fileprovider.FileProvider[source]

Bases: abc.ABC

Abstract class for the FileProvider

get(name: str) → dict[source]

Get a dictionary of target paths to local paths for a given name.

list()[source]

Get a list of names.

__abstractmethods__ = frozenset({'list', 'get'})
__module__ = 'labgrid.provider.fileprovider'

labgrid.provider.mediafileprovider module

class labgrid.provider.mediafileprovider.MediaFileProvider(groups={}) → None[source]

Bases: labgrid.provider.fileprovider.FileProvider

get(name)[source]
list()[source]
__abstractmethods__ = frozenset()
__attrs_attrs__ = (Attribute(name='groups', default={}, validator=<instance_of validator for type <class 'dict'>>, repr=True, cmp=True, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False),)
__init__(groups={}) → None
__module__ = 'labgrid.provider.mediafileprovider'
__repr__()

Automatically created by attrs.