Skip to content

Conversation

@LineIndent
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented May 16, 2025

@LineIndent LineIndent requested a review from Kastier1 May 16, 2025 14:36
Copy link
Collaborator

@masenf masenf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you deploy the app so we can test

{
"name": "weatherstack_app",
"description": "A minimal weather app",
"demo_url": "https://company-dashboard-navy-book.reflex.run/",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to make sure this is updated after deploying the app

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup will change this today after re-deploy

"access_key": self.api_key,
"query": self.city,
}
response = requests.get(WEATHERSTACK_API_URL, params=params)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using a blocking call here is not ideal as it will block other users on the server until the request completes, if this request is slow (and note it has no timeout), the app performance could degrade across all users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this using httpx - I should point out this was entirely generated from the AI (I did not change the backend) so maybe something we need to look at for future generations if this kind of blocking good is not good practice

@Alek99
Copy link
Member

Alek99 commented May 26, 2025

Seems like this is not passing CI

@LineIndent
Copy link
Contributor Author

PR #111

@LineIndent LineIndent closed this May 26, 2025
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.

4 participants