Skip to content

refactor: use internal self._api inside the object

Codecov / codecov/patch failed Jun 11, 2024 in 0s

48.45% of diff hit (target 60.36%)

View this Pull Request on Codecov

48.45% of diff hit (target 60.36%)

Annotations

Check warning on line 1034 in src/uiprotect/data/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/base.py#L1034

Added line #L1034 was not covered by tests

Check warning on line 1081 in src/uiprotect/data/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/base.py#L1081

Added line #L1081 was not covered by tests

Check warning on line 1092 in src/uiprotect/data/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/base.py#L1092

Added line #L1092 was not covered by tests

Check warning on line 615 in src/uiprotect/data/bootstrap.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/bootstrap.py#L615

Added line #L615 was not covered by tests

Check warning on line 617 in src/uiprotect/data/bootstrap.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/bootstrap.py#L617

Added line #L617 was not covered by tests

Check warning on line 1202 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L1202

Added line #L1202 was not covered by tests

Check warning on line 1234 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L1234

Added line #L1234 was not covered by tests

Check warning on line 1242 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L1242

Added line #L1242 was not covered by tests

Check warning on line 2034 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2034

Added line #L2034 was not covered by tests

Check warning on line 2071 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2071

Added line #L2071 was not covered by tests

Check warning on line 2640 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2640

Added line #L2640 was not covered by tests

Check warning on line 2665 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2665

Added line #L2665 was not covered by tests

Check warning on line 2679 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2679

Added line #L2679 was not covered by tests

Check warning on line 2843 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2843

Added line #L2843 was not covered by tests

Check warning on line 2894 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2894

Added line #L2894 was not covered by tests

Check warning on line 2901 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2901

Added line #L2901 was not covered by tests

Check warning on line 2908 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2908

Added line #L2908 was not covered by tests

Check warning on line 2915 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L2915

Added line #L2915 was not covered by tests

Check warning on line 3078 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L3078

Added line #L3078 was not covered by tests

Check warning on line 3126 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L3126

Added line #L3126 was not covered by tests

Check warning on line 3177 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L3177

Added line #L3177 was not covered by tests

Check warning on line 3208 in src/uiprotect/data/devices.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/devices.py#L3208

Added line #L3208 was not covered by tests

Check warning on line 131 in src/uiprotect/data/nvr.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/nvr.py#L131

Added line #L131 was not covered by tests

Check warning on line 341 in src/uiprotect/data/nvr.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/nvr.py#L341

Added line #L341 was not covered by tests

Check warning on line 348 in src/uiprotect/data/nvr.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uiprotect/data/nvr.py#L348

Added line #L348 was not covered by tests