Skip to content
Snippets Groups Projects
Commit 60770dce authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: divers

- enhance docstring;
- add type hint
- add changelog
parent ca6943bd
No related branches found
No related tags found
2 merge requests!123REL: Release v0.6.0,!116ENH: Allow to prevent inserts and updates for Records that have certain parents.
Pipeline #36684 passed
......@@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Creation of CrawlerRun Records that contain status information about data
integration of the crawler if the `pycaosdb.ini` contains a `[caoscrawler]`
with `create_crawler_status_records=True`.
- The Crawler `synchronize` function now takes list of RecordType names.
Records that have the given names as parents are excluded from inserts or
updates
### Changed ###
......
......@@ -823,8 +823,8 @@ class Crawler(object):
commit_changes: bool = True,
unique_names: bool = True,
crawled_data: Optional[list[db.Record]] = None,
no_insert_RTs=Optional[list[str]],
no_update_RTs=Optional[list[str]],
no_insert_RTs: Optional[list[str]] = None,
no_update_RTs: Optional[list[str]] = None,
):
"""
This function applies several stages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment