Enum: UsageTypes

This enumeration specifies the execution environment for the Extractor.

URI: UsageTypes

Permissible Values

Value

Description

Comments

cli

Access the Extractor as a command line executable. The executable as well as
the invocation syntax, parametrised using arguments, shall be supplied in the
command slot.

python

Access the Extractor as a Python function. The function should be available
when import <setup> is called, and should be specified including relevant
namespaces. The function signature, parametrised using arguments, shall be
supplied in the command slot.

Slots

Name

Description

method

Usage invocation method, e

Identifier and Mapping Information

Schema Source

  • from schema: https://datatractor.github.io/schema/main/datatractor_schema/

LinkML Source

name: UsageTypes
description: This enumeration specifies the execution environment for the `Extractor`.
from_schema: https://datatractor.github.io/schema/main/datatractor_schema/
rank: 1000
permissible_values:
  cli:
    text: cli
    description: Access the `Extractor` as a command line executable. The executable
      as well as the invocation syntax, parametrised using arguments, shall be supplied
      in the `command` slot.
  python:
    text: python
    description: Access the `Extractor` as a Python function. The function should
      be available when `import <setup>` is called, and should be specified including
      relevant namespaces. The function signature, parametrised using arguments, shall
      be supplied in the `command` slot.