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
c4d8239c
Commit
c4d8239c
authored
1 year ago
by
Saket Agrahari
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/COMP-288' into 'develop'
[COMP-288] : further name correction See merge request
!100
parents
180216d0
aeb0de76
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!100
[COMP-288] : further name correction
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compendium_v2/routes/data_download.py
+5
-5
5 additions, 5 deletions
compendium_v2/routes/data_download.py
with
5 additions
and
5 deletions
compendium_v2/routes/data_download.py
+
5
−
5
View file @
c4d8239c
...
@@ -46,7 +46,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
...
@@ -46,7 +46,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
# Fetch and extract data from the ConnectedProportion table and add it to the result set
# Fetch and extract data from the ConnectedProportion table and add it to the result set
entries
=
fetch_data_from_table
(
ConnectedProportion
,
extract_model_data
)
entries
=
fetch_data_from_table
(
ConnectedProportion
,
extract_model_data
)
result_set
.
append
({
'
name
'
:
'
Market
s
hare
'
,
'
data
'
:
entries
})
result_set
.
append
({
'
name
'
:
'
Market
S
hare
'
,
'
data
'
:
entries
})
# Fetch and extract data from the ConnectivityLevel table and add it to the result set
# Fetch and extract data from the ConnectivityLevel table and add it to the result set
entries
=
fetch_data_from_table
(
ConnectivityLevel
,
extract_model_data
)
entries
=
fetch_data_from_table
(
ConnectivityLevel
,
extract_model_data
)
...
@@ -62,7 +62,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
...
@@ -62,7 +62,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
# Fetch and extract data from the ConnectivityGrowth table
# Fetch and extract data from the ConnectivityGrowth table
entries
=
fetch_data_from_table
(
ConnectivityGrowth
,
extract_model_data
)
entries
=
fetch_data_from_table
(
ConnectivityGrowth
,
extract_model_data
)
result_set
.
append
({
'
name
'
:
'
Est
t
raffic
g
rowth 3 years
'
,
'
data
'
:
entries
})
result_set
.
append
({
'
name
'
:
'
Est
T
raffic
G
rowth 3 years
'
,
'
data
'
:
entries
})
# Fetch and extract data from the CommercialConnectivity table and add it to the result set
# Fetch and extract data from the CommercialConnectivity table and add it to the result set
entries
=
fetch_data_from_table
(
CommercialConnectivity
,
extract_model_data
)
entries
=
fetch_data_from_table
(
CommercialConnectivity
,
extract_model_data
)
...
@@ -118,7 +118,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
...
@@ -118,7 +118,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
# Fetch and extract data from the FibreLight table and add it to the result set
# Fetch and extract data from the FibreLight table and add it to the result set
entries
=
fetch_data_from_table
(
FibreLight
,
extract_model_data
)
entries
=
fetch_data_from_table
(
FibreLight
,
extract_model_data
)
result_set
.
append
({
'
name
'
:
'
Fibre
o
peration
m
odel
'
,
'
data
'
:
entries
})
result_set
.
append
({
'
name
'
:
'
Fibre
O
peration
M
odel
'
,
'
data
'
:
entries
})
# Fetch and extract data from the NetworkMapUrls table and add it to the result set
# Fetch and extract data from the NetworkMapUrls table and add it to the result set
entries
=
fetch_data_from_table
(
NetworkMapUrls
,
extract_model_data
)
entries
=
fetch_data_from_table
(
NetworkMapUrls
,
extract_model_data
)
...
@@ -146,7 +146,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
...
@@ -146,7 +146,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
# Fetch and extract data from the WeatherMap table and add it to the result set
# Fetch and extract data from the WeatherMap table and add it to the result set
entries
=
fetch_data_from_table
(
WeatherMap
,
extract_model_data
)
entries
=
fetch_data_from_table
(
WeatherMap
,
extract_model_data
)
result_set
.
append
({
'
name
'
:
'
Weather Map
'
,
'
data
'
:
entries
})
result_set
.
append
({
'
name
'
:
'
Weather Map
Url
'
,
'
data
'
:
entries
})
# Fetch and extract data from the AlienWave table and add it to the result set
# Fetch and extract data from the AlienWave table and add it to the result set
entries
=
fetch_data_from_table
(
AlienWave
,
extract_model_data
)
entries
=
fetch_data_from_table
(
AlienWave
,
extract_model_data
)
...
@@ -154,7 +154,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
...
@@ -154,7 +154,7 @@ def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]:
# Fetch and extract data from the Capacity table and add it to the result set
# Fetch and extract data from the Capacity table and add it to the result set
entries
=
fetch_data_from_table
(
Capacity
,
extract_model_data
)
entries
=
fetch_data_from_table
(
Capacity
,
extract_model_data
)
result_set
.
append
({
'
name
'
:
'
Capacity
'
,
'
data
'
:
entries
})
result_set
.
append
({
'
name
'
:
'
Backbone
Capacity
'
,
'
data
'
:
entries
})
# Fetch and extract data from the NonREPeers table and add it to the result set
# Fetch and extract data from the NonREPeers table and add it to the result set
entries
=
fetch_data_from_table
(
NonREPeers
,
extract_model_data
)
entries
=
fetch_data_from_table
(
NonREPeers
,
extract_model_data
)
...
...
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