import tanker.config from tanker.config import fields SCHEMA = { #: Running environment 'ENVIRONMENT': fields.OneOfField({ 'local', 'test', 'development', 'production', }, default='local'), #: Debug 'DEBUG': fields.BooleanField(optional=True), #: SQLAlchemy URI 'SQLALCHEMY_DATABASE_URI': fields.StringField(optional=True), #: AWS sepecific access key id value "AWS_ACCESS_KEY_ID": fields.StringField(optional=True), #: AWS sepecific secret access key value "AWS_SECRET_ACCESS_KEY": fields.StringField(optional=True), #: AWS sepecific region name value "AWS_REGION_NAME": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_ENDPOINT_URL": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_S3_BUCKET_NAME": fields.StringField(optional=True), #: Slack Info 'SLACK_API_TOKEN': fields.StringField(optional=True), 'SLACK_CHANNEL': fields.StringField(optional=True), #: Sentry DSN 'SENTRY_DSN': fields.StringField(optional=True),
"local", "test", "development", "production", }, default="local", ), #: Debug "DEBUG": fields.BooleanField(optional=True), #: Running environment "PROXY_HOST_LIST": fields.CommaSeparatedStringField(optional=False), #: AWS sepecific access key id value "AWS_ACCESS_KEY_ID": fields.StringField(optional=True), #: AWS sepecific secret access key value "AWS_SECRET_ACCESS_KEY": fields.StringField(optional=True), #: AWS sepecific region name value "AWS_REGION_NAME": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_ENDPOINT_URL": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_S3_BUCKET_NAME": fields.StringField(optional=True), #: Slack Info "SLACK_API_TOKEN": fields.StringField(optional=True),
SCHEMA = { #: Running environment 'ENVIRONMENT': fields.OneOfField({ 'local', 'test', 'development', 'production', }, default='local'), #: Debug 'DEBUG': fields.BooleanField(optional=True), #: SQLAlchemy URI 'SQLALCHEMY_DATABASE_URI': fields.StringField(), #: AWS sepecific access key id value "AWS_ACCESS_KEY_ID": fields.StringField(optional=True), #: AWS sepecific secret access key value "AWS_SECRET_ACCESS_KEY": fields.StringField(optional=True), #: AWS sepecific region name value "AWS_REGION_NAME": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_ENDPOINT_URL": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_S3_BUCKET_NAME": fields.StringField(optional=True),
====== """ import tanker.config import typing from tanker.config import fields SCHEMA = { #: Running environment "ENVIRONMENT": fields.OneOfField( {"local", "test", "development", "production", }, default="local", ), #: Debug "DEBUG": fields.BooleanField(optional=True), #: Running environment "PROXY_HOST": fields.StringField(optional=True), #: Search S3 nsdi data type : 변동데이터, 전체데이터 "DATA_TYPE": fields.StringField(optional=True), #: Crawler Download Mode : ON은 실제 파일 저장 OFF는 리소스 파일 "DOWNLOAD": fields.StringField(optional=True), #: AWS sepecific access key id value "AWS_ACCESS_KEY_ID": fields.StringField(optional=True), #: AWS sepecific secret access key value "AWS_SECRET_ACCESS_KEY": fields.StringField(optional=True), #: AWS sepecific region name value "AWS_REGION_NAME": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_ENDPOINT_URL": fields.StringField(optional=True), #: AWS sepecific endpoint url value "AWS_S3_BUCKET_NAME": fields.StringField(optional=True), #: Slack Info
""" config ====== """ import tanker.config import typing from tanker.config import fields SCHEMA = { #: Running environment "ENVIRONMENT": fields.OneOfField( {"local", "test", "development", "production", }, default="local", ), #: Login id "LOGIN_ID": fields.StringField(optional=False), #: Login pw "LOGIN_PW": fields.StringField(optional=False), #: Si, Do "SIDO": fields.StringField(optional=True, default="서울"), #: Si, Gun, Gu "SIGUNGU": fields.StringField(optional=True, default="강남구"), #: Eup, Myeon, Dong "DONGLI": fields.StringField(optional=True, default="개포동"), #: Building type "MAIN_USING_TYPE": fields.StringField(optional=True, default="집합건물"), #: Building desc "SUB_USING_TYPE": fields.StringField(optional=True, default="아파트"), #: Client Delay "CLIENT_DELAY": fields.StringField(optional=True), #: Debug