Skip to content

Commit 097027f

Browse files
committed
upgrade Pythong 3.12
1 parent a28c87c commit 097027f

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
FROM python:3.12-slim
22

33
# Install curl for healthcheck
4-
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
4+
RUN apt-get update && \
5+
apt-get install -y curl git && \
6+
rm -rf /var/lib/apt/lists/*
57

68
COPY /docker /scripts
79
COPY /functions /functions

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Hasura Python Lambda Connector
2+
23
<a href="https://www.python.org/"><img src="https://github.com/hasura/ndc-python-lambda/blob/main/docs/logo.svg" align="right" width="200"></a>
34

45
[![Docs](https://img.shields.io/badge/docs-v3.x-brightgreen.svg?style=flat)](https://hasura.io/connectors/python)
@@ -21,6 +22,7 @@ This connector is built using the [Python Data Connector SDK](https://github.com
2122
1. The [DDN CLI](https://hasura.io/docs/3.0/cli/installation) and [Docker](https://docs.docker.com/engine/install/) installed
2223
2. A [supergraph](https://hasura.io/docs/3.0/getting-started/init-supergraph)
2324
3. A [subgraph](https://hasura.io/docs/3.0/getting-started/init-subgraph)
25+
4. Python 3.12+
2426

2527
The steps below explain how to Initialize and configure a connector for local development. You can learn how to deploy a connector — after it's been configured — [here](https://hasura.io/docs/3.0/getting-started/deployment/deploy-a-connector).
2628

@@ -56,7 +58,7 @@ ddn connector introspect python
5658

5759
### Step 4: Add your resources
5860

59-
You can add the models, commands, and relationships to your API by tracking them which generates the HML files.
61+
You can add the models, commands, and relationships to your API by tracking them which generates the HML files.
6062

6163
```bash
6264
ddn connector-link add-resources python
@@ -87,7 +89,7 @@ Install the requirements:
8789

8890
Then run the connector locally:
8991

90-
```ddn connector setenv --connector connector.yaml -- python3 functions.py serve```
92+
`ddn connector setenv --connector connector.yaml -- python3 functions.py serve`
9193

9294
## Documentation
9395

@@ -99,4 +101,4 @@ Check out our [contributing guide](https://github.com/hasura/ndc-python-lambda/b
99101

100102
## License
101103

102-
The Turso connector is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
104+
The Turso connector is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).

0 commit comments

Comments
 (0)