Skip to content

Commit f3f7a30

Browse files
committed
Refer to ndc_sdk_python in examples
1 parent dda6ecd commit f3f7a30

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

connector-definition/template/functions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
In this file you'll find code examples that will help you get up to speed with the usage of the Hasura lambda connector.
88
If you are an old pro and already know what is going on you can get rid of these example functions and start writing your own code.
99
"""
10-
from hasura_ndc import start
11-
from hasura_ndc.instrumentation import with_active_span # If you aren't planning on adding additional tracing spans, you don't need this!
10+
from ndc_sdk_python import start
11+
from ndc_sdk_python.instrumentation import with_active_span # If you aren't planning on adding additional tracing spans, you don't need this!
1212
from opentelemetry.trace import get_tracer # If you aren't planning on adding additional tracing spans, you don't need this either!
13-
from hasura_ndc.function_connector import FunctionConnector
13+
from ndc_sdk_python.function_connector import FunctionConnector
1414
from pydantic import BaseModel, Field # You only need this import if you plan to have complex inputs/outputs, which function similar to how frameworks like FastAPI do
1515
import asyncio # You might not need this import if you aren't doing asynchronous work
16-
from hasura_ndc.errors import UnprocessableContent
16+
from ndc_sdk_python.errors import UnprocessableContent
1717
from typing import Annotated
1818

1919
connector = FunctionConnector()

0 commit comments

Comments
 (0)