Skip to content

Conversation

@berteotti
Copy link
Contributor

@berteotti berteotti commented Jan 31, 2025

  • Question-insights endpoint receives a question instead of a market address
  • Updated names to reflect question instead of market

Fixes: #20

@berteotti berteotti force-pushed the berteotti/question-insights branch from ccc2e65 to 878f97d Compare January 31, 2025 12:53
"""Returns market insights for a given market on Omen."""
insights = market_insights(market_id)
logger.info(f"Insights for `{market_id}`: {insights.model_dump()}")
@app.get("/question-insights/")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't you need the same thing for the market-invalid endpoint? But it is fine by me to implement it once you need it, if not yet.

@kongzii kongzii merged commit ff349a5 into gnosis:main Feb 3, 2025
7 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.

Add insight for open questions

2 participants