You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make an API, but this error keeps troubling me. This snippet works in my local machine but gets broken when I ship it to Render using docker.
def init(app: flask.app.Flask):
@app.route("/user/<string:username>")
def user(username):
filename = "get_profile_details"
get_profile_details(
twitter_username=username,
filename=filename,
)
data = json.load(open(filename + ".json"))
return data
The text was updated successfully, but these errors were encountered:
I'm trying to make an API, but this error keeps troubling me. This snippet works in my local machine but gets broken when I ship it to Render using docker.
The text was updated successfully, but these errors were encountered: