Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
access-node
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LuFG VR VIS
VR-Group
In Situ Pipeline
access-node
Commits
110eb68b
Commit
110eb68b
authored
5 years ago
by
Jan Müller
Browse files
Options
Downloads
Patches
Plain Diff
Update API
parent
55bb5874
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
access_node/models/data.py
+16
-16
16 additions, 16 deletions
access_node/models/data.py
access_node/swagger/swagger.yaml
+12
-12
12 additions, 12 deletions
access_node/swagger/swagger.yaml
with
28 additions
and
28 deletions
access_node/models/data.py
+
16
−
16
View file @
110eb68b
...
...
@@ -15,31 +15,31 @@ class Data(Model):
Do not edit the class manually.
"""
def
__init__
(
self
,
simulation_steps
:
List
[
float
]
=
None
,
neuron_ids
:
List
[
float
]
=
None
,
data
:
List
[
float
]
=
None
):
# noqa: E501
def
__init__
(
self
,
simulation_steps
:
List
[
float
]
=
None
,
neuron_ids
:
List
[
float
]
=
None
,
values
:
List
[
float
]
=
None
):
# noqa: E501
"""
Data - a model defined in Swagger
:param simulation_steps: The simulation_steps of this Data. # noqa: E501
:type simulation_steps: List[float]
:param neuron_ids: The neuron_ids of this Data. # noqa: E501
:type neuron_ids: List[float]
:param
data: The data
of this Data. # noqa: E501
:type
data
: List[float]
:param
values: The values
of this Data. # noqa: E501
:type
values
: List[float]
"""
self
.
swagger_types
=
{
'
simulation_steps
'
:
List
[
float
],
'
neuron_ids
'
:
List
[
float
],
'
data
'
:
List
[
float
]
'
values
'
:
List
[
float
]
}
self
.
attribute_map
=
{
'
simulation_steps
'
:
'
simulation_steps
'
,
'
neuron_ids
'
:
'
neuron_ids
'
,
'
data
'
:
'
data
'
'
values
'
:
'
values
'
}
self
.
_simulation_steps
=
simulation_steps
self
.
_neuron_ids
=
neuron_ids
self
.
_
data
=
data
self
.
_
values
=
values
@classmethod
def
from_dict
(
cls
,
dikt
)
->
'
Data
'
:
...
...
@@ -95,22 +95,22 @@ class Data(Model):
self
.
_neuron_ids
=
neuron_ids
@property
def
data
(
self
)
->
List
[
float
]:
"""
Gets the
data
of this Data.
def
values
(
self
)
->
List
[
float
]:
"""
Gets the
values
of this Data.
:return: The
data
of this Data.
:return: The
values
of this Data.
:rtype: List[float]
"""
return
self
.
_
data
return
self
.
_
values
@
data
.setter
def
data
(
self
,
data
:
List
[
float
]):
"""
Sets the
data
of this Data.
@
values
.setter
def
values
(
self
,
values
:
List
[
float
]):
"""
Sets the
values
of this Data.
:param
data: The data
of this Data.
:type
data
: List[float]
:param
values: The values
of this Data.
:type
values
: List[float]
"""
self
.
_
data
=
data
self
.
_
values
=
values
This diff is collapsed.
Click to expand it.
access_node/swagger/swagger.yaml
+
12
−
12
View file @
110eb68b
...
...
@@ -207,20 +207,20 @@ definitions:
items
:
type
:
"
number"
format
:
"
int64"
data
:
values
:
type
:
"
array"
items
:
type
:
"
number"
example
:
simulation_steps
:
-
0.
8008281904610115
-
0.
8008281904610115
data
:
-
1.4
658129805029452
-
1.46
58129805029452
-
0.
1
-
0.
2
values
:
-
6
1.4
8
-
1
3
.46
neuron_ids
:
-
6.027456183070403
-
6.027456183070403
-
1
-
2
Spikes
:
type
:
"
object"
properties
:
...
...
@@ -236,11 +236,11 @@ definitions:
format
:
"
int64"
example
:
simulation_steps
:
-
0.
8008281904610115
-
0.
8008281904610115
-
0.
1
-
0.
2
neuron_ids
:
-
6.027456183070403
-
6.027456183070403
-
1
-
2
Error
:
type
:
"
object"
properties
:
...
...
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