Skip to content

Commit f3c718b

Browse files
Update middleware/metadata_scraper/__init__.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 5b128d3 commit f3c718b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/metadata_scraper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ 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],
26+
commit: Annotated[Optional[bool], "If set to false, the harvested metadata will not be committed to git"] = True
2727
"If set to false, the harvedest metadata will not be commited to git"] = True
2828
# Unfortunately it's not feasible to nest NamedTuple's, so we use a dict here
2929
# instead of a HttpSessionConfig instance.

0 commit comments

Comments
 (0)