You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
56
+
Integration Testing Using the Aptos CLI:
55
57
56
-
### Integration Testing Using the Aptos CLI
57
58
```bash
58
-
make examples_cli
59
+
make integration_test
59
60
```
60
61
62
+
> [!NOTE]
63
+
> The Python SDK does not require the Indexer, if you would prefer to test without it, unset or do not set the environmental variable `APTOS_INDEXER_URL` and exclude `--with-indexer-api` from running the aptos node software.
64
+
61
65
## Autoformatting
62
66
```bash
63
67
make fmt
@@ -74,22 +78,6 @@ make lint
74
78
* Set the environment variable `APTOS_CLI_PATH` to the full path of the CLI.
75
79
*`poetry run python -m aptos_sdk.cli` and set the appropriate command-line parameters
76
80
77
-
## Generating types
78
-
The Python `openapi-python-client` tool cannot parse references. Therefore there are three options:
79
-
80
-
- Use swagger-cli to dereference, gain a type explosion, and still have missing types
81
-
- Live without missing types
82
-
- Write a pure python implementation with no autogenerated code
83
-
84
-
Currently the team is moving forward with pure python, but leaves the following notes for the curious:
0 commit comments