-
Notifications
You must be signed in to change notification settings - Fork 18
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
chore: Modernize repo and code #26
base: main
Are you sure you want to change the base?
Conversation
…li utility and refactor repo stuff
.github/workflows/latch_sdk_python_manual_increase_version.yaml
Outdated
Show resolved
Hide resolved
src/latch_sdk/response.py
Outdated
""" | ||
|
||
def __init__(self, data: "str | dict[str, Any]"): | ||
""" |
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.
One line comment instead of three lines?
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.
Are you talking about docstring?
src/latch_sdk/sansio.py
Outdated
params = {"wallet": web3_account, "signature": web3_signature} | ||
return self._prepare_http("POST", path, None, params) | ||
|
||
def pair( |
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.
Separaría los métodos que se ofrecen de interfaz a los desarrolladores a su propio fichero:
pair, unpair, status, operation_status...
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.
No entiendo que quieres decir. ¿Cada operación en su propio fichero? ¿o un fichero por conjunto de operaciones?
Añadiría en cada fichero de código comentarios sobre la funcionalidad que implementan para hacer la vida más sencilla a futuros mantenedores |
…r and location verification on status operation
🎩 What is the goal?
📝 Notes
It changes the exposed API using
LatchSDK
classes, but you could use theLatch
classes in order to get an API similar the old one.✅ Checklist