arcade-core 3.3.4__py3-none-any.whl → 3.3.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
arcade_core/executor.py CHANGED
@@ -59,7 +59,7 @@ class ToolExecutor:
59
59
  if asyncio.iscoroutinefunction(func):
60
60
  results = await func(**func_args)
61
61
  else:
62
- results = func(**func_args)
62
+ results = await asyncio.to_thread(func, **func_args)
63
63
 
64
64
  # serialize the output model
65
65
  output = await ToolExecutor._serialize_output(output_model, results)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arcade-core
3
- Version: 3.3.4
3
+ Version: 3.3.5
4
4
  Summary: Arcade Core - Core library for Arcade platform
5
5
  Author-email: Arcade <dev@arcade.dev>
6
6
  License: MIT
@@ -8,7 +8,7 @@ arcade_core/constants.py,sha256=wakdklI7TyJ0agq9n-Cmb2lbVa95D0oUaMGm30eiv9Y,375
8
8
  arcade_core/context.py,sha256=J2MgbVznhJC2qarHq3dTL72W4NGYOM1pjXdI_YwgkA4,3316
9
9
  arcade_core/discovery.py,sha256=PluKGhNtJ7RYjJuPDMB8LCNinQLKzlqoAtc3dwKb6IA,8397
10
10
  arcade_core/errors.py,sha256=fsi7m6TQQSsdSNHl4rBoSN_YH3ZV910gjvBFqB207f4,13326
11
- arcade_core/executor.py,sha256=aFRqB4OdC4b8JJN3zekx0hOWYmihWHAZqVWVlSFXzE4,4308
11
+ arcade_core/executor.py,sha256=RKUmh0by3CVcNSKSbmuSLhk5TzcWrH8PYOSUhR9tRsI,4333
12
12
  arcade_core/output.py,sha256=CMY1pHlQIR27Beiz2I-Yg1aO-P-pbsEbhBZ1RdYuflc,4040
13
13
  arcade_core/parse.py,sha256=arKGKL9C6g__tRfZ4re6IM_wAqr1v3LrOzTOBEDLhDc,2366
14
14
  arcade_core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -23,6 +23,6 @@ arcade_core/usage/constants.py,sha256=1FQIhkFFMZUhU-H4A7GvMb7KQ3qLFrNAZb2-LEvSF3
23
23
  arcade_core/usage/identity.py,sha256=2dP1iusI9pE_GrPlz3VXEdz51R5JlNo9_-OXbe6vn7I,6716
24
24
  arcade_core/usage/usage_service.py,sha256=xzWWSEktm58liiNYugBHRactSru8V5foriHcsoH0j1A,3407
25
25
  arcade_core/usage/utils.py,sha256=FqBOmlhwT68cbnpI5Vx9ZW6vLRYPVg4FJ0GaMEp8qEM,398
26
- arcade_core-3.3.4.dist-info/METADATA,sha256=FMQ0jM6jmF1V2IuebikCeV5fK4HKphhFthhVBfE30uY,2383
27
- arcade_core-3.3.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
- arcade_core-3.3.4.dist-info/RECORD,,
26
+ arcade_core-3.3.5.dist-info/METADATA,sha256=tpSyZEemCE-ODXccXybY1ocTp6wF-OjgyGw5QlcqMrA,2383
27
+ arcade_core-3.3.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
+ arcade_core-3.3.5.dist-info/RECORD,,