class documentation
class LabelStudioBackendConfig(foua.AnnotationBackendConfig): (source)
Constructor: LabelStudioBackendConfig(name, label_schema, media_field, url, ...)
Class for configuring LabelStudioBackend
instances.
Parameters | |
name | the name of the backend |
label | a dictionary containing the description of label fields, classes and attribute to annotate |
media | string field name containing the paths to media files on disk to upload |
url | the URL of the Label Studio server |
api | the API key to use for authentication |
project | the name of the project to use on the Label Studio server |
Method | __init__ |
Undocumented |
Method | api |
Undocumented |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config. |
Instance Variable | project |
Undocumented |
Instance Variable | url |
Undocumented |
Property | api |
Undocumented |
Instance Variable | _api |
Undocumented |
Inherited from AnnotationBackendConfig
:
Method | serialize |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | name |
Undocumented |
Property | method |
The name of the annotation backend. |
Method | _load |
Undocumented |
Method | _sanitize |
Undocumented |
Inherited from AnnotationMethodConfig
(via AnnotationBackendConfig
):
Property | type |
The type of run. |
Inherited from BaseRunConfig
(via AnnotationBackendConfig
, AnnotationMethodConfig
):
Class Method | from |
Constructs a BaseRunConfig from a serialized JSON dict representation of it. |
Static Method | base |
Returns the config class for the given run type. |
Method | attributes |
Returns the list of class attributes that will be serialized by serialize . |
Method | build |
Builds the BaseRun instance associated with this config. |
Property | cls |
The fully-qualified name of this BaseRunConfig class. |
Property | run |
The BaseRun class associated with this config. |
Class Method | _virtual |
A list of attributes that are serialized but should not be treated as parameters when loading the config class from the database. |
Inherited from Config
(via AnnotationBackendConfig
, AnnotationMethodConfig
, BaseRunConfig
):
Method | __repr__ |
Undocumented |
def __init__(self, name, label_schema, media_field='filepath', url=None, api_key=None, project_name=None, **kwargs):
(source)
¶
Undocumented