Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
bb15dfb9
Commit
bb15dfb9
authored
Jul 19, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos.slap: Make TempDocument more flexible to allow init any parameter
parent
816e23ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
slapos/slap/hateoas.py
slapos/slap/hateoas.py
+5
-1
No files found.
slapos/slap/hateoas.py
View file @
bb15dfb9
...
@@ -63,7 +63,11 @@ ALLOWED_JIO_FIELD_LIST = [
...
@@ -63,7 +63,11 @@ ALLOWED_JIO_FIELD_LIST = [
"TextAreaField"
]
"TextAreaField"
]
class
TempDocument
(
object
):
class
TempDocument
(
object
):
pass
def
__init__
(
self
,
**
kw
):
"""
Makes easy initialisation of class parameters
"""
self
.
__dict__
.
update
(
kw
)
class
ConnectionHelper
:
class
ConnectionHelper
:
def
__init__
(
self
,
master_url
,
key_file
=
None
,
def
__init__
(
self
,
master_url
,
key_file
=
None
,
...
...
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