-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Fix Python SDK #5769
Fix Python SDK #5769
Conversation
* Module deserialization was broken * Generic struct deserialization was broken * Improved typing for tests
* mypy is great but the previous individual didn't finish up the work * you can't have a lint that will undoubtedly fail, we use two formatters and they overwrite each other... because of that, we need to use the formatter to detect bad linting or get rid of one of our formatters * verified that the docs page still looks good * updated the faucet for devnet back to the original one
run-python-examples: | ||
runs-on: ubuntu-latest | ||
env: | ||
APTOS_NODE_URL: https://fullnode.devnet.aptoslabs.com |
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.
I didn't realize the Python SDK was smart enough to add the /v1
?
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.
I think you added that...
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.
lol okay go me
@@ -250,7 +252,7 @@ def transfer(self, sender: Account, recipient: AccountAddress, amount: int) -> s | |||
} | |||
return self.submit_transaction(sender, payload) | |||
|
|||
#:!:>bcs_transfer | |||
# :!:>bcs_transfer |
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.
I think black
does this but it breaks the templating into the tutorials, have we double checked that? I think that's why I wasn't using black
on the aptos_sdk
files in the first place.
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.
it worked :)
Tested with
make test && make examples
I'm not competent enough to figure out how to integrate with CI/CD