Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
production
building-knowledge-centre
building-dao
Commits
e02a8cae
Commit
e02a8cae
authored
Sep 26, 2019
by
Marc-Andre Santune
Browse files
Simulating version conflict error
parent
7095a345
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
building_dao/building_generic.py
building_dao/building_generic.py
+1
-0
No files found.
building_dao/building_generic.py
View file @
e02a8cae
...
@@ -262,6 +262,7 @@ class BuildingGeneric:
...
@@ -262,6 +262,7 @@ class BuildingGeneric:
Use this to prevent version conflict when uploading data
Use this to prevent version conflict when uploading data
"""
"""
try
:
try
:
self
.
_building
[
"version"
]
=
3
# TODO removeeeeeeeeeeeee
res
=
self
.
_req
(
res
=
self
.
_req
(
"put"
,
url
,
json
=
{
**
payload
,
"version"
:
self
.
_building
[
"version"
]}
"put"
,
url
,
json
=
{
**
payload
,
"version"
:
self
.
_building
[
"version"
]}
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment