Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Configuration minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
drkostas committed May 3, 2020
1 parent 58ba11d commit 85c01b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Configuration:

def __init__(self, config_src: Union[TextIOWrapper, StringIO, str], config_schema_path: str = 'yml_schema.json'):
"""
Tha basic constructor. Creates a new instance of a MySQL Datastore using the specified credentials
The basic constructor. Creates a new instance of the Configuration class.
:param config_src:
:param config_schema_path:
Expand Down
7 changes: 7 additions & 0 deletions configuration/yml_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
},
"config": {
"type": "object",
"required": [
"api_key"
],
"properties": {
"api_key": {
"type": "string"
Expand Down Expand Up @@ -115,6 +118,10 @@
},
"config": {
"type": "object",
"required": [
"email_address",
"api_key"
],
"properties": {
"email_address": {
"type": "string"
Expand Down

0 comments on commit 85c01b7

Please sign in to comment.