# Cannot import HybridFusion from weaviate.gql.get with Python Client V3

**URL:** <https://forum.weaviate.io/t/cannot-import-hybridfusion-from-weaviate-gql-get-with-python-client-v3/2555>\
**Category:** General\
**Tags:** bug\
**Created:** [May 30, 2024, 5:02pm UTC](https://forum.weaviate.io/t/cannot-import-hybridfusion-from-weaviate-gql-get-with-python-client-v3/2555 "2024-05-30T17:02:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiem\_KTH](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/thiem_kth/32/1634_2.png) [@Thiem\_KTH](https://forum.weaviate.io/u/Thiem_KTH)\
**Post date:** [May 30, 2024, 5:02pm UTC](https://forum.weaviate.io/t/cannot-import-hybridfusion-from-weaviate-gql-get-with-python-client-v3/2555/1 "2024-05-30T17:02:21Z")

</div>

I use HybridFusion in weaviate version 3.19.0 to enhance performance of retrieval while I want to resolve conflicts to other library in my source code. However when I use this syntax to import it raise error: `ImportError: cannot import name 'HybridFusion' from 'weaviate.gql.get' (/Users/nguyenbathiem/opt/anaconda3/lib/python3.9/site-packages/weaviate/gql/get.py)`  
Here are more details of my code and Error:

```auto
from weaviate.gql.get import HybridFusion
def get_relevant_docs(question, limit= 10):
    relevant_docs = (
        client.query
        .get("FAQ_database", ["title", "description", "content", "url", "segment_title", "segment_content"])
        .with_hybrid(
            query=process_text(question),
            fusion_type=HybridFusion.RELATIVE_SCORE,
            properties=["segment_title", "segment_content"],
            alpha=0.6,
            vector=embeddings.embed_query(question),
        )
        .with_limit(limit)
        .with_additional("vector")
        .do()
    )
    
    return relevant_docs
get_relevant_docs("how to resolve this problem?")

```

Error:

```auto
ImportError Traceback (most recent call last)
Input In [378], in <cell line: 1>()
----> 1 from weaviate.gql.get import HybridFusion
      2 def get_relevant_docs(question, limit= 10):
      3 relevant_docs = (
      4 client.query
      5 .get("FAQ_database", ["title", "description", "content", "url", "segment_title", "segment_content"])
   (...)
     15 .do()
     16 )

ImportError: cannot import name 'HybridFusion' from 'weaviate.gql.get' (/Users/nguyenbathiem/opt/anaconda3/lib/python3.9/site-packages/weaviate/gql/get.py)

```

Thank you!
