Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
atlas
athena
Commits
523e9b43
Commit
523e9b43
authored
2 years ago
by
Walter Lampl
Browse files
Options
Downloads
Patches
Plain Diff
AccumulatorCache: Improve debug output
parent
e73eb1f2
No related branches found
No related tags found
1 merge request
!58206
Improve cachability of ComponentAccumulator returned by IOVDbSvcCfg
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Control/AthenaConfiguration/python/AccumulatorCache.py
+2
-2
2 additions, 2 deletions
Control/AthenaConfiguration/python/AccumulatorCache.py
with
2 additions
and
2 deletions
Control/AthenaConfiguration/python/AccumulatorCache.py
+
2
−
2
View file @
523e9b43
...
...
@@ -135,12 +135,12 @@ class AccumulatorDecorator:
for
a
in
args
:
if
(
not
AccumulatorDecorator
.
_hasHash
(
a
)):
hashable_args
=
False
_msg
.
debug
(
"
Positional argument to AccumulatorDecorator __call__ is not hashable.
"
)
_msg
.
debug
(
"
Positional argument
%s
to AccumulatorDecorator __call__ is not hashable.
"
,
str
(
a
)
)
break
for
k
,
v
in
kwargs
.
items
():
if
(
not
AccumulatorDecorator
.
_hasHash
(
v
)):
hashable_args
=
False
_msg
.
debug
(
"
Value in keyword argument to AccumulatorDecorator __call__ is not hashable.
"
)
_msg
.
debug
(
"
Value in keyword argument
%s
to AccumulatorDecorator __call__ is not hashable.
"
,
str
(
k
)
)
break
if
(
hashable_args
):
# frozen set makes the order of keyword arguments irrelevant
...
...
This diff is collapsed.
Click to expand it.
Tadej Novak
@tadej
mentioned in commit
fd29eec1
·
2 years ago
mentioned in commit
fd29eec1
mentioned in commit fd29eec193d8aac2d5cedf161240dcc69ae3bcb1
Toggle commit list
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