Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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-pylib
Merge requests
!4
TST: refactor configuration test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
TST: refactor configuration test
f-read-config-files
into
dev
Overview
0
Commits
4
Pipelines
2
Changes
10
Merged
Henrik tom Wörden
requested to merge
f-read-config-files
into
dev
4 years ago
Overview
0
Commits
4
Pipelines
2
Changes
10
Expand
0
0
Merge request reports
Compare
dev
version 2
d68b1243
4 years ago
version 1
d68b1243
4 years ago
dev (base)
and
version 1
latest version
a9b55361
4 commits,
4 years ago
version 2
d68b1243
3 commits,
4 years ago
version 1
d68b1243
14 commits,
4 years ago
10 files
+
80
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
src/caosdb/common/models.py
+
3
−
0
Options
@@ -3661,6 +3661,7 @@ class Query():
self
.
flags
=
dict
()
self
.
messages
=
_Messages
()
self
.
cached
=
None
self
.
etag
=
None
if
isinstance
(
q
,
etree
.
_Element
):
self
.
q
=
q
.
get
(
"
string
"
)
@@ -3670,6 +3671,7 @@ class Query():
self
.
cached
=
False
else
:
self
.
cached
=
q
.
get
(
"
cached
"
).
lower
()
==
"
true
"
self
.
etag
=
q
.
get
(
"
etag
"
)
for
m
in
q
:
if
m
.
tag
.
lower
()
==
'
warning
'
or
m
.
tag
.
lower
()
==
'
error
'
:
@@ -3714,6 +3716,7 @@ class Query():
cresp
=
Container
.
_response_to_entities
(
http_response
)
self
.
results
=
cresp
.
query
.
results
self
.
cached
=
cresp
.
query
.
cached
self
.
etag
=
cresp
.
query
.
etag
if
self
.
q
.
lower
().
startswith
(
'
count
'
)
and
len
(
cresp
)
==
0
:
# this was a count query
Loading