This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from shmokmt/feature/jsonschema
Feature/jsonschema
- Loading branch information
Showing
10 changed files
with
922 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Upload the Python package to PyPI. | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from .dataclass import frequency | ||
|
||
# TODO: use Config class Instead of config dict. | ||
class Config(): | ||
def __init__(self, app_id): | ||
self.startTime = None | ||
self.endTime = None | ||
self.adamId = [app_id] | ||
self.group = None | ||
self.frequency = frequency.days | ||
self.dimensionFilters = [] | ||
self.measures = [] | ||
|
||
|
||
class MeasuresConfig(Config): | ||
def __init__(self, app_id): | ||
self.group = {} | ||
|
||
|
||
class SourcesConfig(Config): | ||
def __init__(self, app_id): | ||
self.measures: list = [] | ||
self.dimension: str = None | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class AppStoreConnectException(Exception): | ||
pass | ||
|
||
|
||
class AppStoreConnectValidationError(AppStoreConnectException): | ||
pass | ||
|
||
class AppStoreConnectValueError(AppStoreConnectException): | ||
pass |
Oops, something went wrong.