-
Notifications
You must be signed in to change notification settings - Fork 7
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
Full refactoring and async usage (Release 0.4.0) #55
base: main
Are you sure you want to change the base?
Conversation
2038b30
to
2e8da70
Compare
|
||
async def _send_with_reconnect(self, data: str) -> None: | ||
retries: int = self.reconnect_retries | ||
while True: |
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.
Can we use another condition for this cycle instead?
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.
Changed on for statement
from sc_client.testing.response_callback import ResponseCallback | ||
|
||
|
||
class WebsocketStub: |
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.
Can you add tests to check performance of sc-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.
idk
Can I check your changes in sc-web? |
Yeah. Also passed the integrated py-sc-kpm tests, so you can rest assured that everything works as before |
Full refactoring of structure
[0.4.0]
Added
Changed
ScType
to models directoryvalue
field forScAddr
andScType
as property and cannot be changed in runtime__lt__
method for the ability to sort ScAddrsRemoved
ScTemplate
triplets (now tuple and operator>>
)ScTemplateResult
:results.size()
, uselen(results)
results.get(...)
, useresults[...]
results.for_each_triple(...)
, usefor src, edge, trd in results ...
ScAgent
,ScModule
andScKeynodes
(now in kpm)