Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Eric Simon
fso_metadata_fork
Commits
c3fce7e9
Commit
c3fce7e9
authored
Oct 28, 2021
by
Pauline Maury Laribière
Browse files
remove prints
parent
1a76d8f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
fso_metadata/api_class.py
View file @
c3fce7e9
...
...
@@ -43,7 +43,6 @@ class Api:
self
.
api_url
=
self
.
get_url
(
api_type
,
_id
,
version_format
,
language
)
print
(
self
.
api_url
)
def
get_response
(
self
)
->
Union
[
dict
,
pd
.
DataFrame
]:
...
...
@@ -55,8 +54,6 @@ class Api:
- a dictionnary if export_format was SDMX-ML or SDMX-JSON.
"""
request_function
=
REQUEST_FUNCTION_MAPPING
[
self
.
export_format
]
print
(
f
"
{
self
.
root_url
}
/api/
{
self
.
api_url
}
"
)
print
(
self
.
parameters
)
return
request_function
(
f
"
{
self
.
root_url
}
/api/
{
self
.
api_url
}
"
,
self
.
parameters
)
...
...
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