question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test with tavern, the query service set the 'name' parameter with the name of the aggregate

See original GitHub issue

Describe the bug i have set a model with


class Product(Base):
    __tablename__ = 'product'

    id = Column(Integer, primary_key=True)
    uuid = Column(String(60))
    name = Column(String(80))
    description = Column(Text, nullable=True)
    picture = Column(String(120), nullable=True)
    price_id = Column(Integer, ForeignKey('price.id'))
    price = relationship("Price", backref=backref("product", **uselist=False))

the command query receive the params from the request and put the name of the aggregate class route in name parameter

To Reproduce create a model with an attribute called name send as parameter the name to the POST do a GET

Additional context From the Tavern test suite i will get the following response


{'id': '1', 'uuid': '695c5b8e-b47f-4d55-9c60-addb2eb384da', 'name': 'src.aggregates.Product', 'description': 'Product One in our catalog', 'picture': 'images/product.jpeg', 'price_id': '1'}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
andrea-muccicommented, Feb 13, 2022

cool,

thank you, we have to consider this feature in next releases

0reactions
garciparedescommented, Mar 3, 2022

This bug is closely related to #219

Read more comments on GitHub >

github_iconTop Results From Across the Web

Aggregate awareness | Looker - Google Cloud
The Explore query contains measure types supported by aggregate awareness (see the Measure type factors section on this page), or the Explore ...
Read more >
Querying tables in script - Product Documentation | ServiceNow
Using methods in the GlideRecord API, you can return all the records in a table, return records based on specific conditions or keywords, ......
Read more >
Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >
Aggregation queries | Firestore - Firebase - Google
Stay organized with collections Save and categorize content based on your preferences. Advanced queries in Cloud Firestore allow you to quickly find documents ......
Read more >
mongo_dart | Dart Package - Pub.dev
Method find returns a stream of maps and accept query parameters, usually build by ... toList(); // or Standard way await collection.find({'name': 'Tom', ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found