Skip to content

Commit

Permalink
2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCommCraft committed Apr 21, 2024
1 parent f8f0fe0 commit f9ce526
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scratchcommunication/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Module for communicating with scratch projects.
"""

__version_number__ = '2.5.1'
__version_number__ = '2.5.2'

from .session import *
from .cloud import *
Expand Down
2 changes: 2 additions & 0 deletions scratchcommunication/cloudrequests/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def execute_request(self, name, *, args : Sequence[Any], kwargs : Mapping[str, A
return_converter = lambda x : x
if request_handling_function.auto_convert:
for idx, (arg, annotation) in enumerate(inspect.signature(request_handling_function).parameters.items()):
if not annotation.kind.value in [0, 1, 3]:
continue
if inspect.Parameter.empty == annotation.annotation:
continue
if not arg in kwargs:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with open("README.md", encoding="utf-8") as f:
long_description = f.read()

VERSION = '2.5.1'
VERSION = '2.5.2'

setup(
name='scratchcommunication',
Expand Down

0 comments on commit f9ce526

Please sign in to comment.