Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
geant-swd
compendium-v2
Commits
40e20f57
Commit
40e20f57
authored
1 year ago
by
Saket Agrahari
Browse files
Options
Downloads
Patches
Plain Diff
change log and admin access
parent
74c7f8fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Changelog.md
+3
-0
3 additions, 0 deletions
Changelog.md
compendium_v2/routes/data_download.py
+2
-0
2 additions, 0 deletions
compendium_v2/routes/data_download.py
with
5 additions
and
0 deletions
Changelog.md
+
3
−
0
View file @
40e20f57
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
All notable changes to this project will be documented in this file.
## [0.47] - 2024-01-30
-
COMP-288: Mass data download network and other models
## [0.46] - 2024-01-26
## [0.46] - 2024-01-26
-
COMP-288: Mass data download
-
COMP-288: Mass data download
...
...
This diff is collapsed.
Click to expand it.
compendium_v2/routes/data_download.py
+
2
−
0
View file @
40e20f57
import
logging
import
logging
from
typing
import
List
,
Optional
,
Dict
,
Any
,
Sequence
from
typing
import
List
,
Optional
,
Dict
,
Any
,
Sequence
from
compendium_v2.auth.session_management
import
admin_required
from
compendium_v2.db.presentation_models
import
AlienWave
,
BudgetEntry
,
Capacity
,
CentralProcurement
,
\
from
compendium_v2.db.presentation_models
import
AlienWave
,
BudgetEntry
,
Capacity
,
CentralProcurement
,
\
CertificateProviders
,
\
CertificateProviders
,
\
...
@@ -22,6 +23,7 @@ logger = logging.getLogger(__name__)
...
@@ -22,6 +23,7 @@ logger = logging.getLogger(__name__)
@routes.route
(
'
/
'
,
methods
=
[
'
GET
'
])
@routes.route
(
'
/
'
,
methods
=
[
'
GET
'
])
@common.require_accepts_json
@common.require_accepts_json
@admin_required
def
fetch_and_combine_data
()
->
Sequence
[
Optional
[
Dict
[
str
,
Any
]]]:
def
fetch_and_combine_data
()
->
Sequence
[
Optional
[
Dict
[
str
,
Any
]]]:
result_set
:
List
[
Optional
[
Dict
[
str
,
Any
]]]
=
[]
result_set
:
List
[
Optional
[
Dict
[
str
,
Any
]]]
=
[]
...
...
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