Skip to content

Commit

Permalink
Python SDK Async Client Update (#11321)
Browse files Browse the repository at this point in the history
* updated python sdk gitignore

* updated python sdk async client (doc strings + removed code duplication + new methods)

* added view endpoint to python async_client

* removed application/x-bcs from view() and removed commented line

* removed playground.py from .gitignore

* formatted
  • Loading branch information
johnstonematt authored Jan 9, 2024
1 parent 19e1bd5 commit 0675938
Show file tree
Hide file tree
Showing 3 changed files with 385 additions and 52 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,6 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

# testing/fidling script:
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This provides basic functionalities to interact with [Aptos](https:/github.com/aptos-labs/aptos-core/). Get started [here](https://aptos.dev/guides/system-integrators-guide/#getting-started).

Currently this is still in development and may not be suitable for production purposes.
Currently, this is still in development and may not be suitable for production purposes.

Note: The sync client is deprecated, please only start new projects using the async client. Feature contributions to the sync client will be rejected.

Expand Down Expand Up @@ -51,11 +51,21 @@ make examples

Note: These end-to-end tests are tested against a node built from the same commit as part of CI, not devnet. For examples tested against devnet, see `developer-docs-site/static/examples/python/` from the root of the repo.

### Integration Testing Using the Aptos CLI
```bash
make examples_cli
```

## Autoformatting
```bash
make fmt
```

## Autolinting
```bash
make lint
```

## Package Publishing

* Download the [Aptos CLI](https://aptos.dev/tools/aptos-cli/install-cli/).
Expand Down
Loading

0 comments on commit 0675938

Please sign in to comment.