Skip to content
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

Add flag include_raw_msg_body #35

Open
wants to merge 2 commits into
base: legacy
Choose a base branch
from
Open

Conversation

troman29
Copy link

@troman29 troman29 commented Nov 8, 2023

Hi! We really miss this flag. I added it, but unfortunately I can't check it due to an error in the web container.

2023-11-08 15:15:40   File "/usr/src/ton-indexer/api/api_v1/main.py", line 11, in <module>
2023-11-08 15:15:40     from . import schemas
2023-11-08 15:15:40   File "/usr/src/ton-indexer/api/api_v1/schemas.py", line 35, in <module>
2023-11-08 15:15:40     class MsgAddressInt(BaseModel):
2023-11-08 15:15:40   File "pydantic/main.py", line 197, in pydantic.main.ModelMetaclass.__new__
2023-11-08 15:15:40   File "pydantic/fields.py", line 506, in pydantic.fields.ModelField.infer
2023-11-08 15:15:40   File "pydantic/fields.py", line 436, in pydantic.fields.ModelField.__init__
2023-11-08 15:15:40   File "pydantic/fields.py", line 552, in pydantic.fields.ModelField.prepare
2023-11-08 15:15:40   File "pydantic/fields.py", line 668, in pydantic.fields.ModelField._type_analysis
2023-11-08 15:15:40   File "/usr/lib/python3.8/typing.py", line 774, in __subclasscheck__
2023-11-08 15:15:40     return issubclass(cls, self.__origin__)
2023-11-08 15:15:40 TypeError: issubclass() arg 1 must be a class

It doesn't seem to be related to my changes. Please merge this so that we can switch to this API from the ton-http-api, which is currently not working correctly.

@troman29 troman29 changed the title Add flag include_raw_msg_body to /getTransactionsByAddress Add flag include_raw_msg_body to getTransactionsByAddress and getTransactionsByMasterchainSeqno Nov 8, 2023
@troman29 troman29 changed the title Add flag include_raw_msg_body to getTransactionsByAddress and getTransactionsByMasterchainSeqno Add flag include_raw_msg_body Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant