Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TOAR-II FastAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
esde
toar-data
TOAR-II FastAPI
Commits
49c08234
Commit
49c08234
authored
3 months ago
by
Sabine Schröder
Browse files
Options
Downloads
Patches
Plain Diff
#154
: the last commit was lacking two files
parent
a3b6af7d
No related branches found
No related tags found
2 merge requests
!224
preparation for testing the (re-)integrated AAI; started strictly separating...
,
!223
preparation for testing the (re-)integrated AAI; making toar2_category available
Pipeline
#246883
passed
3 months ago
Stage: test
Stage: deploy
Stage: pages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/fixtures/timeseries/timeseries_contributors.json
+6
-0
6 additions, 0 deletions
tests/fixtures/timeseries/timeseries_contributors.json
toardb/timeseries/models_contributor.py
+16
-0
16 additions, 0 deletions
toardb/timeseries/models_contributor.py
with
22 additions
and
0 deletions
tests/fixtures/timeseries/timeseries_contributors.json
0 → 100644
+
6
−
0
View file @
49c08234
[
{
"request_id"
:
"7f0df73a-bd0f-48b9-bb17-d5cd36f89598"
,
"timeseries_ids"
:
[
1
,
2
]
}
]
This diff is collapsed.
Click to expand it.
toardb/timeseries/models_contributor.py
0 → 100644
+
16
−
0
View file @
49c08234
# SPDX-FileCopyrightText: 2021 Forschungszentrum Jülich GmbH
# SPDX-License-Identifier: MIT
"""
class TimeseriesContributorList (Base)
======================================
"""
from
sqlalchemy
import
Column
,
Integer
,
String
,
ARRAY
,
Table
from
toardb.base
import
Base
s1_contributors_table
=
Table
(
'
services.s1_contributors
'
,
Base
.
metadata
,
Column
(
'
request_id
'
,
String
(
32
),
primary_key
=
True
,
nullable
=
False
),
Column
(
'
timeseries_ids
'
,
ARRAY
(
Integer
))
)
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