Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-django-backend
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-django-backend
Commits
7ef741d8
Verified
Commit
7ef741d8
authored
Nov 27, 2020
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
reduce logging output
parent
c65eee53
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
djaosdb/caosdb_client.py
+1
-2
1 addition, 2 deletions
djaosdb/caosdb_client.py
with
1 addition
and
2 deletions
djaosdb/caosdb_client.py
+
1
−
2
View file @
7ef741d8
...
@@ -227,7 +227,7 @@ class DefaultCaosDBClientDelegate:
...
@@ -227,7 +227,7 @@ class DefaultCaosDBClientDelegate:
c
.
insert
()
c
.
insert
()
def
insert_auth
(
self
,
record_type
:
str
,
records
:
list
):
def
insert_auth
(
self
,
record_type
:
str
,
records
:
list
):
p
rint
(
records
)
p
ass
def
insert_many
(
self
,
record_type
:
str
,
records
:
list
):
def
insert_many
(
self
,
record_type
:
str
,
records
:
list
):
c
=
self
.
_caosdb
.
Container
()
c
=
self
.
_caosdb
.
Container
()
...
@@ -337,7 +337,6 @@ class DefaultCaosDBClientDelegate:
...
@@ -337,7 +337,6 @@ class DefaultCaosDBClientDelegate:
class
CaosDBClient
:
class
CaosDBClient
:
def
__init__
(
self
,
enforce_schema
=
True
,
def
__init__
(
self
,
enforce_schema
=
True
,
delegate
=
DefaultCaosDBClientDelegate
,
**
kwargs
):
delegate
=
DefaultCaosDBClientDelegate
,
**
kwargs
):
LOGGER
.
info
(
"
New CaosDBClient: %s
"
,
kwargs
)
self
.
enforce_schema
=
enforce_schema
self
.
enforce_schema
=
enforce_schema
self
.
_delegate
=
delegate
(
**
kwargs
)
self
.
_delegate
=
delegate
(
**
kwargs
)
...
...
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