Skip to content

Commit

Permalink
fix: code analysis bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
onikonychev committed Sep 25, 2023
1 parent a51116d commit 0099d2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nibiru/pytypes/jsonable.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Any, Mapping


def to_jsonable(obj: Any) -> Any:
def to_jsonable(obj):
if hasattr(obj, "to_jsonable"):
return obj.to_jsonable()
if isinstance(obj, int):
Expand Down
2 changes: 1 addition & 1 deletion nibiru/query_clients/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def deserialize_exp(proto_message: message.Message) -> dict:
proto_message.__getattribute__(field.camelcase_name)
)
except AttributeError:
output[field.camelcase_name] = output[field.camelcase_name]
pass

elif is_sdk_dec[field.camelcase_name]:
output[field.camelcase_name] = utils.from_sdk_dec(
Expand Down

0 comments on commit 0099d2b

Please sign in to comment.