Skip to content

Better handler structure

Codecov / codecov/patch failed Sep 30, 2023 in 1s

83.01% of diff hit (target 97.56%)

View this Pull Request on Codecov

83.01% of diff hit (target 97.56%)

Annotations

Check warning on line 14 in shhh/api/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/api/api.py#L14

Added line #L14 was not covered by tests

Check warning on line 19 in shhh/api/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/api/api.py#L16-L19

Added lines #L16 - L19 were not covered by tests

Check warning on line 21 in shhh/api/handlers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/api/handlers.py#L21

Added line #L21 was not covered by tests

Check warning on line 28 in shhh/api/handlers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/api/handlers.py#L28

Added line #L28 was not covered by tests

Check warning on line 19 in shhh/api/schemas.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/api/schemas.py#L19

Added line #L19 was not covered by tests

Check warning on line 42 in shhh/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/config.py#L42

Added line #L42 was not covered by tests

Check warning on line 56 in shhh/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/config.py#L56

Added line #L56 was not covered by tests

Check warning on line 69 in shhh/config.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/config.py#L69

Added line #L69 was not covered by tests

Check warning on line 24 in shhh/entrypoint.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/entrypoint.py#L22-L24

Added lines #L22 - L24 were not covered by tests

Check warning on line 16 in shhh/liveness.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/liveness.py#L16

Added line #L16 was not covered by tests

Check warning on line 18 in shhh/liveness.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/liveness.py#L18

Added line #L18 was not covered by tests

Check warning on line 20 in shhh/liveness.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/liveness.py#L20

Added line #L20 was not covered by tests

Check warning on line 12 in shhh/scheduler/tasks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

shhh/scheduler/tasks.py#L12

Added line #L12 was not covered by tests