Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div align="center">
<a href="https://app.codacy.com/gh/nirsimetri/onvif-python/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade"><img src="https://app.codacy.com/project/badge/Grade/bff08a94e4d447b690cea49c6594826d"/></a>
<a href="https://deepwiki.com/nirsimetri/onvif-python"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.9-orange?logo=archive&color=yellow"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.10-orange?logo=archive&color=yellow"></a>
<a href="https://pepy.tech/projects/onvif-python"><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red"></a>
<br>
<a href="https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml"><img alt="Build" src="https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml/badge.svg?branch=main"></a>
Expand Down Expand Up @@ -319,7 +319,7 @@ usage: onvif [-h] [--host HOST] [--port PORT] [--username USERNAME] [--password
[--cache {all,db,mem,none}] [--health-check-interval HEALTH_CHECK_INTERVAL] [--output OUTPUT] [--version]
[service] [method] [params ...]

ONVIF Terminal Client — v0.2.9
ONVIF Terminal Client — v0.2.10
https://github.com/nirsimetri/onvif-python

positional arguments:
Expand Down Expand Up @@ -400,7 +400,7 @@ Examples:
<summary><b>2. Interactive Shell</b></summary>

```bash
ONVIF Interactive Shell — v0.2.9
ONVIF Interactive Shell — v0.2.10
https://github.com/nirsimetri/onvif-python

Basic Commands:
Expand Down
6 changes: 3 additions & 3 deletions README_ID.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div align="center">
<a href="https://app.codacy.com/gh/nirsimetri/onvif-python/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade"><img src="https://app.codacy.com/project/badge/Grade/bff08a94e4d447b690cea49c6594826d"/></a>
<a href="https://deepwiki.com/nirsimetri/onvif-python"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.9-orange?logo=archive&color=yellow"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.10-orange?logo=archive&color=yellow"></a>
<a href="https://pepy.tech/projects/onvif-python"><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red"></a>
<br>
<a href="https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml"><img alt="Build" src="https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml/badge.svg?branch=main"></a>
Expand Down Expand Up @@ -319,7 +319,7 @@ usage: onvif [-h] [--host HOST] [--port PORT] [--username USERNAME] [--password
[--cache {all,db,mem,none}] [--health-check-interval HEALTH_CHECK_INTERVAL] [--output OUTPUT] [--version]
[service] [method] [params ...]

ONVIF Terminal Client — v0.2.9
ONVIF Terminal Client — v0.2.10
https://github.com/nirsimetri/onvif-python

positional arguments:
Expand Down Expand Up @@ -401,7 +401,7 @@ Examples:


```bash
ONVIF Interactive Shell — v0.2.9
ONVIF Interactive Shell — v0.2.10
https://github.com/nirsimetri/onvif-python

Basic Commands:
Expand Down
2 changes: 1 addition & 1 deletion onvif/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/cli/utils.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion onvif/wsdl/ver10/advancedsecurity/wsdl/advancedsecurity.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/analyticsdevice.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions onvif/wsdl/ver10/appmgmt/wsdl/appmgmt.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/device/wsdl/devicemgmt.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/recording.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/schema/metadatastream.xsd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/schema/onvif.xsd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver10/uplink/wsdl/uplink.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver20/media/wsdl/media.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion onvif/wsdl/ver20/ptz/wsdl/ptz.wsdl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "onvif-python"
version = "0.2.9"
version = "0.2.10"
description = "A modern Python library for ONVIF-compliant devices"
readme = "README.md"
requires-python = ">=3.9"
Expand Down
8 changes: 4 additions & 4 deletions tests/services/base_service_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_no_duplicate_methods(self):
continue

# Skip helper methods
if method_name in ["type", "desc", "operations"]:
if method_name in ["type", "desc", "operations", "to_dict"]:
continue

method_names.append(method_name)
Expand Down Expand Up @@ -388,7 +388,7 @@ def test_operator_call_usage(self):
implemented_methods = self.get_implemented_methods()

# Skip helper methods that don't call operator.call()
helper_methods = ["type", "desc", "operations"]
helper_methods = ["type", "desc", "operations", "to_dict"]

errors = []

Expand Down Expand Up @@ -447,7 +447,7 @@ def test_no_extra_methods(self):
implemented_methods = self.get_implemented_methods()

# Allowed helper methods that are not ONVIF operations
allowed_helper_methods = ["type", "desc", "operations"]
allowed_helper_methods = ["type", "desc", "operations", "to_dict"]

extra_methods = []
for method_name in implemented_methods.keys():
Expand Down Expand Up @@ -482,7 +482,7 @@ def test_parameter_forwarding_for_all_methods(self):
implemented_methods = self.get_implemented_methods()

# Skip helper methods that don't call operator.call()
helper_methods = ["type", "desc", "operations"]
helper_methods = ["type", "desc", "operations", "to_dict"]

errors = []

Expand Down