-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shreyansh
committed
Mar 11, 2021
1 parent
7754134
commit e7c82d6
Showing
4 changed files
with
27 additions
and
3 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,6 +1,6 @@ | ||
from . import admin | ||
from . import admin, approver | ||
|
||
__all__ = [ | ||
admin | ||
admin, approver | ||
] | ||
version = 'v1' |
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,10 @@ | ||
""" | ||
Initializing Approver API's | ||
""" | ||
|
||
from .reports import Reports | ||
from ..version import version | ||
|
||
role = 'approver' | ||
|
||
reports = Reports(version, role) |
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,14 @@ | ||
""" | ||
V1 Approver Reports | ||
""" | ||
|
||
from ....internals.list_resources import ListResources | ||
|
||
|
||
class Reports(ListResources): | ||
"""Class for Reports APIs.""" | ||
|
||
REPORTS = '/reports' | ||
|
||
def __init__(self, version, role): | ||
super().__init__(version, role, Reports.REPORTS) |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='fyle', | ||
version='v0.2.0', | ||
version='v0.3.0', | ||
author='Siva Narayanan', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Fyle Platform APIs', | ||
|