#Repo organisation with Dagger module in python

1 messages · Page 1 of 1 (latest)

sleek flax
#

Hello, this can be a python question but I face a problem.

I am developing a service which will land in k8s. This service require env variable and I use pydantic settings to define settings.

In Dagger, I need to setup this env variable too. So I would like to use the same pydantic settings to ease the module settings too.

How to avoir duplication ?

the tree is like :
-pyproject.toml
-src/server/api
-src/server/settings.py
-daggger/pyproject.toml
-dagger/src/my_module

I am using uv. For now I will look at uv Workspaces to see if there is something around it. and how to setup monorepo in python (huge subject)

covert bane