Skip to content

Commit

Permalink
Also add objects
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Feb 20, 2024
1 parent 7697dc5 commit 19222bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions weaviate/collections/classes/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,3 +598,12 @@ def from_input(
List[Object[TProperties, References]],
List[Object[TProperties, CrossReferences]],
]

QueryObjectReturnType = Union[
Object[Properties, References],
Object[TProperties, TReferences],
Object[Properties, CrossReferences],
Object[Properties, TReferences],
Object[TProperties, References],
Object[TProperties, CrossReferences],
]
2 changes: 2 additions & 0 deletions weaviate/outputs/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
ReferenceInput,
ReferenceInputs,
QueryObjectsReturnType,
QueryObjectReturnType,
)
from weaviate.collections.classes.types import (
GeoCoordinate,
Expand All @@ -40,6 +41,7 @@
"MetadataSingleObjectReturn",
"PhoneNumberType",
"QueryNearMediaReturnType",
"QueryObjectReturnType",
"QueryObjectsReturnType",
"QueryReturnType",
"QuerySingleReturn",
Expand Down

0 comments on commit 19222bc

Please sign in to comment.