style(whole-project): fixing linting and typing errors

This commit is contained in:
Gergő Jedlicska
2022-12-20 10:45:22 +01:00
parent b25f2ab4bc
commit 990cf4eb2f
41 changed files with 505 additions and 236 deletions
-1
View File
@@ -27,7 +27,6 @@ def clean_db():
def one_pass(clean: bool, randomize: bool, child_count: int):
foo = Base()
for i in range(child_count):
stuff = random_string() if randomize else "stuff"
+15
View File
@@ -0,0 +1,15 @@
from devtools import debug
from specklepy.api import operations
from specklepy.api.wrapper import StreamWrapper
if __name__ == "__main__":
stream_url = "https://latest.speckle.dev/streams/7d051a6449"
wrapper = StreamWrapper(stream_url)
transport = wrapper.get_transport()
rec = operations.receive("98396753f8bf7fe1cb60c5193e9f9d86", transport)
# hash = operations.send(base=foo, transports=[transport], use_default_cache=False)
debug(rec)
-1
View File
@@ -25,7 +25,6 @@ def create_object(child_count: int) -> Base:
if __name__ == "__main__":
stream_url = "http://hyperion:3000/streams/2372b54c35"
child_count = 10