Closed smohiudd closed 8 months ago
I tried exported the pydantic model to dict but there was an issue with datetime serialization.
ðŸ˜
I tried exported the pydantic model to dict but there was an issue with datetime serialization
I think (need to double check) that this will be resolved by the ingest API's validations.
There are two changes in this PR:
requests
POST expects thedata
argument when passing JSON instead ofjson
which is for dicts. I tried exported the pydantic model to dict but there was an issue with datetime serialization.get_token()
function was returning an instance of HTTPBearer but we need pass just the credentials to the publish endpoint