Removed .env
This commit is contained in:
parent
b405297f76
commit
6ba10b0e02
16
.env
16
.env
|
@ -1,16 +0,0 @@
|
|||
# production database credentials
|
||||
PROD_DB_USER=postgres
|
||||
PROD_DB_PASSWORD=
|
||||
PROD_DB_HOST=localhost
|
||||
PROD_DB_PORT=5432
|
||||
|
||||
# test database credentials
|
||||
TEST_DB_USER=postgres
|
||||
TEST_DB_PASSWORD=postgres
|
||||
TEST_DB_HOST=localhost
|
||||
TEST_DB_PORT=5432
|
||||
|
||||
#Gitlab token
|
||||
HUB_TOKEN=9s_CJYh5TcWhyYL416MM
|
||||
|
||||
DEV_SECRET_NAME=dp.st.dev.Axvak1ILOlCOwUNGajv7fg5VPaacFR6OL1kdb3YGWHX
|
|
@ -11,6 +11,7 @@ from persistence.db_config import Base
|
|||
from sqlalchemy.dialects.postgresql import JSONB
|
||||
from sqlalchemy.orm import relationship
|
||||
import datetime
|
||||
import numpy as np
|
||||
|
||||
|
||||
class City(Base):
|
||||
|
@ -41,7 +42,9 @@ class City(Base):
|
|||
self.name = name
|
||||
self.srs_name = srs_name
|
||||
self.country_code = country_code
|
||||
self.lower_corner = l_corner.tolist()
|
||||
self.upper_corner = u_corner.tolist()
|
||||
l_corner = l_corner.tolist() if type(l_corner) == np.ndarray else l_corner
|
||||
u_corner = u_corner.tolist() if type(u_corner) == np.ndarray else u_corner
|
||||
self.lower_corner = l_corner
|
||||
self.upper_corner = u_corner
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user