Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-python
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
perxis
perxis-python
Commits
8d6bfc05
Commit
8d6bfc05
authored
1 month ago
by
Podosochnyy Maxim
Browse files
Options
Downloads
Patches
Plain Diff
Добавлены флаги для возможности указания допусимости изменения / удаления item'ов
parent
08e993ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!90
Добавлена возможность указания data для SyncPolicyItem и DataSourceItem при создании с помощью функций
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
perxis/extensions/utils.py
+4
-0
4 additions, 0 deletions
perxis/extensions/utils.py
with
4 additions
and
0 deletions
perxis/extensions/utils.py
+
4
−
0
View file @
8d6bfc05
...
@@ -23,6 +23,8 @@ def datasource_items_from_collections(
...
@@ -23,6 +23,8 @@ def datasource_items_from_collections(
в override_for_collections
в override_for_collections
with_delete: Флаг для возможности удаления существующих записей расширением. Может быть переопределён
with_delete: Флаг для возможности удаления существующих записей расширением. Может быть переопределён
в override_for_collections
в override_for_collections
Returns:
list[DataSourceItem]
"""
"""
if
not
isinstance
(
override_for_collections
,
dict
):
if
not
isinstance
(
override_for_collections
,
dict
):
...
@@ -65,6 +67,8 @@ def sync_policies_from_collections(
...
@@ -65,6 +67,8 @@ def sync_policies_from_collections(
в override_for_collections
в override_for_collections
with_delete: Флаг для возможности удаления существующих записей расширением. Может быть переопределён
with_delete: Флаг для возможности удаления существующих записей расширением. Может быть переопределён
в override_for_collections
в override_for_collections
Returns:
list[SyncPolicyItem]
"""
"""
if
not
isinstance
(
override_for_collections
,
dict
):
if
not
isinstance
(
override_for_collections
,
dict
):
...
...
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