Skip to content

Commit d724475

Browse files
authored
Merge pull request #208 from fairagro/dev_publisso_thunen
added missing config option definition
2 parents 04e3587 + 6357e86 commit d724475

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

middleware/metadata_scraper/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class MetadataScraperConfig(NamedTuple):
2323
url: Annotated[str, "The sitemap URL of the research data repository to scrape"]
2424
sitemap: Annotated[str, "The identifier of the sitemap parser to use"]
2525
metadata: Annotated[Optional[str], "The identifier of the metadata extractor to use"] = None
26+
commit: Annotated[Optional[bool],
27+
"If set to false, the harvested metadata will not be committed to git"] = True
2628
# Unfortunately it's not feasible to nest NamedTuple's, so we use a dict here
2729
# instead of a HttpSessionConfig instance.
2830
http_client: Annotated[Optional[Dict],

0 commit comments

Comments
 (0)