- additional module for Gschliefghraben
This commit is contained in:
parent
54b210c07d
commit
c62eb2cdb0
8 changed files with 243 additions and 1 deletions
15
gschliefgraben_glasfaser/main.py
Normal file
15
gschliefgraben_glasfaser/main.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
'''
|
||||
Tutorial link: https://realpython.com/flask-connexion-rest-api-part-2/
|
||||
Sqlalchemy version: 1.2.15
|
||||
Python version: 3.7
|
||||
'''
|
||||
|
||||
import os
|
||||
# response = requests.get('https://api.com/')
|
||||
# print(response) # shows the response's HTTP status code
|
||||
# print(response.json()) # shows the response's JSON response body, if it has one
|
||||
# print(response.content) # get the data content of the response
|
||||
# (for your case this is the downloaded file)
|
||||
# print(dir(response)) # shows you all the different methods you can call on this response object
|
||||
db_user = os.environ.get("POSTGIS_DBUSER")
|
||||
print(db_user)
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue