You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/03/07 21:04:54 UTC

[streampipes] branch dev updated: Bump mypy from 1.0.0 to 1.1.1 in /streampipes-client-python (#1395)

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new c830543a2 Bump mypy from 1.0.0 to 1.1.1 in /streampipes-client-python (#1395)
c830543a2 is described below

commit c830543a2a214d7018c7981851e0a909e4fe7377
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Mar 7 22:04:48 2023 +0100

    Bump mypy from 1.0.0 to 1.1.1 in /streampipes-client-python (#1395)
    
    * Bump mypy from 1.0.0 to 1.1.1 in /streampipes-client-python
    
    Bumps [mypy](https://github.com/python/mypy) from 1.0.0 to 1.1.1.
    - [Release notes](https://github.com/python/mypy/releases)
    - [Commits](https://github.com/python/mypy/compare/v1.0.0...v1.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: mypy
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    
    * chore(style): add local ignore statement to prevent false positive
    
    Signed-off-by: bossenti <bo...@posteo.de>
    
    ---------
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Signed-off-by: bossenti <bo...@posteo.de>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
    Co-authored-by: bossenti <bo...@posteo.de>
---
 streampipes-client-python/setup.py                                    | 2 +-
 .../streampipes/functions/utils/data_stream_generator.py              | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/streampipes-client-python/setup.py b/streampipes-client-python/setup.py
index cb8f767db..257ed69a8 100644
--- a/streampipes-client-python/setup.py
+++ b/streampipes-client-python/setup.py
@@ -44,7 +44,7 @@ dev_packages = base_packages + [
     "flake8==6.0.0",
     "interrogate==1.5.0",
     "isort==5.12.0",
-    "mypy==1.0.0",
+    "mypy==1.1.1",
     "pandas-stubs==1.5.2.230105",
     "pre-commit==3.1.0",
     "pytest==7.2.1",
diff --git a/streampipes-client-python/streampipes/functions/utils/data_stream_generator.py b/streampipes-client-python/streampipes/functions/utils/data_stream_generator.py
index e11657e44..fb862a95d 100644
--- a/streampipes-client-python/streampipes/functions/utils/data_stream_generator.py
+++ b/streampipes-client-python/streampipes/functions/utils/data_stream_generator.py
@@ -49,7 +49,7 @@ def create_data_stream(name: str, attributes: Dict[str, str], stream_id: Optiona
 
     event_schema = EventSchema(
         event_properties=[
-            EventProperty(
+            EventProperty(  # type: ignore
                 label="timestamp",
                 runtime_name="timestamp",
                 domain_properties=["http://schema.org/DateTime"],
@@ -58,7 +58,7 @@ def create_data_stream(name: str, attributes: Dict[str, str], stream_id: Optiona
             )
         ]
         + [
-            EventProperty(
+            EventProperty(  # type: ignore
                 label=attribute_name,
                 runtime_name=attribute_name,
                 index=i,