We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d890f91 commit cffd188Copy full SHA for cffd188
opensensor/collection_apis.py
@@ -201,7 +201,7 @@ def get_nested_fields(model: Type[BaseModel]):
201
def create_nested_pipeline(model: Type[BaseModel], prefix=""):
202
logger.debug(f"Creating nested pipeline for model: {model.__name__}, prefix: {prefix}")
203
nested_fields = get_nested_fields(model)
204
- pipeline = {}
+ pipeline = _get_project_projection(model)
205
match_conditions = {}
206
207
for field_name, field_type in model.__fields__.items():
0 commit comments