Created
April 29, 2022 06:55
-
-
Save chrimaho/49a898548146e86e895f3234732cbcf9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compile Variables ---- | |
TITLE = config(option='TITLE', default='Update from Git', cast=str) | |
DESCRIPTION = config \ | |
( option='DESCRIPTION' | |
, default='Automated update process for pulling from Git repo upon webhook call.' | |
, cast=str | |
) | |
VERSION = config(option='VERSION', default='0.0.1', cast=str) | |
GIT_URL = config(option='GIT_URL', cast=str) | |
API_ENDPOINT = config(option="API_ENDPOINT", cast=str, default="/api/webhook") | |
REPO_DIR = config(option='REPO_DIR', cast=str) | |
CONTACT_DETAILS = \ | |
{ "name": config(option='CONTACT_NAME', default=None) | |
, "url": config(option='CONTACT_URL', default=None) | |
, "email": config(option='CONTACT_EMAIL', default=None) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment