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

PR Feature/HDX-9848 wfp market endpoint #116

Merged
merged 2 commits into from
May 24, 2024

Conversation

alexandru-m-g
Copy link
Member

No description provided.

@alexandru-m-g alexandru-m-g changed the title PR Feature/HDX-9848 wfp market PR Feature/HDX-9848 wfp market endpoint May 24, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice to see I'm not the only one to make this mistake! (wfp-commodity, not wfp_commodity)

db: AsyncSession,
code: Optional[str] = None,
name: Optional[str] = None,
# lat: Optional[float] = None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess we are waiting for a decision before we implement a query for lat/lon

async def test_get_wfp_market_params(event_loop, refresh_db):
log.info('started test_get_wfp_market_params')

for param_name, param_value in query_parameters.items():
Copy link
Collaborator

Choose a reason for hiding this comment

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

I found it useful for this test to log param_name, param_value before attempting the query - helpful when the test is failing, not so much when it passes.

@alexandru-m-g alexandru-m-g merged commit e810efd into dev May 24, 2024
2 checks passed
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.

3 participants