forked from dacort/athena-federation-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
5 changed files
with
57 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Install project dependencies | ||
install: | ||
poetry install | ||
|
||
# Update project dependencies | ||
update: | ||
poetry update | ||
|
||
# Run project tests | ||
test: | ||
poetry run pytest | ||
|
||
# Lint code using flake8 | ||
lint: | ||
black . | ||
flake8 | ||
|
||
# Clean up generated files | ||
clean: | ||
poetry run rm -rf dist build | ||
|
||
# Build project distribution | ||
build: | ||
poetry build | ||
|
||
# Publish project to PyPI | ||
publish: | ||
poetry publish |
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,3 +1,10 @@ | ||
"""Version number of our project""" | ||
|
||
__version__ = "0.0.3" | ||
|
||
# Import the SDK | ||
from .athena_data_source import AthenaDataSource # noqa: F401 | ||
from .lambda_handler import AthenaLambdaHandler # noqa: F401 | ||
from .models import * # noqa: F401,F403 | ||
from .sdk import AthenaFederationSDK # noqa: F401 | ||
from .utils import AthenaSDKUtils # noqa: F401 |
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,11 @@ | ||
import athena_federation | ||
|
||
|
||
def test_import(): | ||
assert athena_federation.AthenaLambdaHandler | ||
assert athena_federation.AthenaFederationSDK | ||
assert athena_federation.AthenaDataSource | ||
assert athena_federation.AthenaFederationSDK | ||
assert athena_federation.AthenaSDKUtils | ||
assert athena_federation.models.PingResponse | ||
assert athena_federation.models.ListSchemasResponse |