Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
c0717a3e
Commit
c0717a3e
authored
3 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into f-refactor-pipe
parents
83677633
60203584
No related branches found
No related tags found
2 merge requests
!217
TST: Make NamedTemporaryFiles Windows-compatible
,
!211
F refactor pipe
Pipeline
#59883
passed
3 months ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caoscrawler/sync_node.py
+2
-2
2 additions, 2 deletions
src/caoscrawler/sync_node.py
with
2 additions
and
2 deletions
src/caoscrawler/sync_node.py
+
2
−
2
View file @
c0717a3e
...
...
@@ -256,9 +256,9 @@ class SyncNode(db.Entity):
def
parent_in_list
(
parent
:
Parent
,
plist
:
ParentList
)
->
bool
:
"""
helper function that checks whether a parent with the same name or ID is in the plist
"""
return
plist
.
filter
(
parent
)
return
plist
.
filter
_by_identity
(
parent
)
def
property_in_list
(
prop
:
db
.
Property
,
plist
:
PropertyList
)
->
bool
:
"""
helper function that checks whether a property with the same name or ID is in the plist
"""
return
plist
.
filter
(
prop
)
return
plist
.
filter
_by_identity
(
prop
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment