Skip to content

feat: Convert config template to pydantic model

Codecov / codecov/patch succeeded Mar 4, 2024 in 1s

79.31% of diff hit (target 73.12%)

View this Pull Request on Codecov

79.31% of diff hit (target 73.12%)

Annotations

Check warning on line 64 in backend/capellacollab/__main__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/__main__.py#L64

Added line #L64 was not covered by tests

Check warning on line 11 in backend/capellacollab/config/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/__init__.py#L11

Added line #L11 was not covered by tests

Check warning on line 14 in backend/capellacollab/config/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/__init__.py#L14

Added line #L14 was not covered by tests

Check warning on line 9 in backend/capellacollab/config/diff.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/diff.py#L9

Added line #L9 was not covered by tests

Check warning on line 23 in backend/capellacollab/config/diff.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/diff.py#L23

Added line #L23 was not covered by tests

Check warning on line 13 in backend/capellacollab/config/generate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/generate.py#L12-L13

Added lines #L12 - L13 were not covered by tests

Check warning on line 17 in backend/capellacollab/config/generate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/generate.py#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 20 in backend/capellacollab/config/generate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/generate.py#L20

Added line #L20 was not covered by tests

Check warning on line 50 in backend/capellacollab/config/loader.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/loader.py#L50

Added line #L50 was not covered by tests

Check warning on line 52 in backend/capellacollab/config/loader.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/config/loader.py#L52

Added line #L52 was not covered by tests

Check warning on line 55 in backend/capellacollab/core/authentication/jwt_bearer.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/jwt_bearer.py#L55

Added line #L55 was not covered by tests

Check warning on line 14 in backend/capellacollab/core/authentication/provider/azure/__main__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/azure/__main__.py#L14

Added line #L14 was not covered by tests

Check warning on line 19 in backend/capellacollab/core/authentication/provider/azure/keystore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/azure/keystore.py#L19

Added line #L19 was not covered by tests

Check warning on line 50 in backend/capellacollab/core/authentication/provider/azure/keystore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/azure/keystore.py#L50

Added line #L50 was not covered by tests

Check warning on line 25 in backend/capellacollab/core/authentication/provider/azure/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/azure/routes.py#L25

Added line #L25 was not covered by tests

Check warning on line 79 in backend/capellacollab/core/authentication/provider/oauth/flow.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/oauth/flow.py#L79

Added line #L79 was not covered by tests

Check warning on line 82 in backend/capellacollab/core/authentication/provider/oauth/flow.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/oauth/flow.py#L82

Added line #L82 was not covered by tests

Check warning on line 53 in backend/capellacollab/core/authentication/provider/oauth/keystore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/core/authentication/provider/oauth/keystore.py#L53

Added line #L53 was not covered by tests

Check warning on line 63 in backend/capellacollab/sessions/idletimeout.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/sessions/idletimeout.py#L63

Added line #L63 was not covered by tests

Check warning on line 626 in backend/capellacollab/sessions/operators/k8s.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/sessions/operators/k8s.py#L626

Added line #L626 was not covered by tests

Check warning on line 44 in backend/capellacollab/sessions/sessions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/capellacollab/sessions/sessions.py#L44

Added line #L44 was not covered by tests