wp-post-automation/main.py

13 lines
280 B
Python

from package import GetConfig
from package import MariaDB
# 2024-10-03 환경 변수 호출
config = GetConfig.GetConfig()
dict_data = config.get_config_as_dict()
# 2024-10-03 db에서 url정보 호출
db = MariaDB.MariaDB(dict_data)
url = db.fetch_data_from_mariadb()['url']