-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/SOF-7781-1 Update: our pyproject setup #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pyproject.toml
Outdated
| @@ -1,10 +1,105 @@ | |||
| [project] | |||
| name = "mat3ra-api-client" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be in mat3ra.api_client
| host (str): Exabyte API hostname. | ||
| port (int): Exabyte API port number. | ||
| version (str): Exabyte API version. Defaults to 2018-10-1. | ||
| host (str): Mat3ra API hostname. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just keep API hostname and similarly other
| secure (bool): whether to use secure http protocol (https vs http). Defaults to True. | ||
|
|
||
| Attributes: | ||
| conn (httplib.ExabyteConnection): ExabyteConnection instance. | ||
| conn (httplib.Mat3raConnection): Mat3raConnection instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be just Connection
src/py/mat3ra_api_client/helpers.py
Outdated
| @@ -0,0 +1,215 @@ | |||
| """ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
| @@ -0,0 +1,27 @@ | |||
| """ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests/py?
tests/py/integration/__init__.py
Outdated
| ENV_TEST_ACCOUNT_ID = "TEST_ACCOUNT_ID" | ||
| ENV_TEST_AUTH_TOKEN = "TEST_AUTH_TOKEN" | ||
| ENV_TEST_SECURE = "TEST_SECURE" | ||
| ENV_TEST_VERSION = "TEST_VERSION" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the above and use explicitly
66ad0e3 to
d9ccf11
Compare
No description provided.