Skip to content

Instantly share code, notes, and snippets.

@ShahriyarR
Created December 6, 2022 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShahriyarR/eefc97095952171b3c0fd7dacac36a95 to your computer and use it in GitHub Desktop.
Save ShahriyarR/eefc97095952171b3c0fd7dacac36a95 to your computer and use it in GitHub Desktop.
@dataclass
class DBCredentialsWithDescriptors:
password: Password = Password("db-password")
uri: DBUri = DBUri("mysql://")
port: DBPort = DBPort(3306)
host: DBHost = DBHost("localhost")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment