Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Mar 12, 2024
1 parent 9245994 commit db0750f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions examples/Extractor-datatree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ usage:
scope: meta+data
setup: datatree
command: datatree.open_datatree({{ file_path }})
format: xarray-datatree
- method: python
scope: meta+data
setup: datatree
command: datatree.open_datatree({{ file_path }}).to_dict()
format: xarray
installation:
- method: pip
packages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
method: python
setup: example.extractors
command: example.extractors.extract({{ file_path }}, type="{{ input_type }}")
format: pandas
8 changes: 7 additions & 1 deletion schemas/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,13 @@ classes:
range: UsageScope
description: >-
Specification of extraction scope.
format:
description: >-
For an `UsageType` returning an in-memory object, an additional library
installed in the calling environment may be needed to understand the
format of the returned object. For instance, if a `pd.DataFrame` is
returned by the `Usage`, set `format` to `pandas` to indicate this
requirement.
Installation:
description: >-
Expand Down

0 comments on commit db0750f

Please sign in to comment.