Skip to content

Commit

Permalink
Merge pull request #65 from JonatanMartens/development
Browse files Browse the repository at this point in the history
v2.2.1
  • Loading branch information
JonatanMartens authored Oct 18, 2020
2 parents 5a0877d + 222541a commit 212b7ff
Show file tree
Hide file tree
Showing 18 changed files with 225 additions and 2,365 deletions.
11 changes: 6 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ verify_ssl = true
[dev-packages]
autopep8 = "~=1.5.4"
pylint = "~=2.6.0"
coverage = "~=5.2.1"
pytest = "~=6.0.1"
coverage = "~=5.3"
pytest = "~=6.1.1"
pytest-grpc = "~=0.8.0"
mypy = "~=0.782"
mypy = "~=0.790"
coveralls = "~=2.1.2"
importlib-metadata = "~=1.7.0"
importlib-metadata = "~=2.0.0"
pyzeebe = {editable = true, path = "."}
sphinx = "~=3.2.1"
sphinx-rtd-theme = "*"

[packages]
grpcio = "~=1.31.0"
grpcio = "~=1.32.0"
protobuf = "~=3.13.0"
oauthlib = "~=3.1.0"
requests-oauthlib = "~=1.3.0"
zeebe-grpc = "~=0.24.3.3"
315 changes: 161 additions & 154 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

version = "2.2.0"
version = "2.2.1"

master_doc = 'index'
9 changes: 8 additions & 1 deletion docs/worker_taskrouter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ To add the router tasks to the worker we use the :py:func:`include_router` metho
worker.include_router(router)
...
Or to add multiple routers at once:

.. code-block:: python
worker.include_router(router1, router2, router3, ...)
That's it!
2 changes: 1 addition & 1 deletion pyzeebe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.2.0"
__version__ = "2.2.1"

from pyzeebe import exceptions
from pyzeebe.client.client import ZeebeClient
Expand Down
2 changes: 1 addition & 1 deletion pyzeebe/grpc_internals/zeebe_adapter_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import os

import grpc
from zeebe_grpc.gateway_pb2_grpc import GatewayStub

from pyzeebe.credentials.base_credentials import BaseCredentials
from pyzeebe.exceptions import ZeebeBackPressure, ZeebeGatewayUnavailable, ZeebeInternalError
from pyzeebe.grpc_internals.zeebe_pb2_grpc import GatewayStub


class ZeebeAdapterBase(object):
Expand Down
4 changes: 2 additions & 2 deletions pyzeebe/grpc_internals/zeebe_job_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
from typing import Dict, List, Generator

import grpc
from zeebe_grpc.gateway_pb2 import ActivateJobsRequest, CompleteJobRequest, CompleteJobResponse, FailJobRequest, \
FailJobResponse, ThrowErrorRequest, ThrowErrorResponse

from pyzeebe.exceptions import ActivateJobsRequestInvalid, JobAlreadyDeactivated, JobNotFound
from pyzeebe.grpc_internals.zeebe_adapter_base import ZeebeAdapterBase
from pyzeebe.grpc_internals.zeebe_pb2 import ActivateJobsRequest, CompleteJobRequest, CompleteJobResponse, \
FailJobRequest, FailJobResponse, ThrowErrorRequest, ThrowErrorResponse
from pyzeebe.job.job import Job


Expand Down
2 changes: 1 addition & 1 deletion pyzeebe/grpc_internals/zeebe_message_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from typing import Dict

import grpc
from zeebe_grpc.gateway_pb2 import PublishMessageRequest, PublishMessageResponse

from pyzeebe.exceptions import MessageAlreadyExists
from pyzeebe.grpc_internals.zeebe_adapter_base import ZeebeAdapterBase
from pyzeebe.grpc_internals.zeebe_pb2 import PublishMessageRequest, PublishMessageResponse


class ZeebeMessageAdapter(ZeebeAdapterBase):
Expand Down
1,820 changes: 0 additions & 1,820 deletions pyzeebe/grpc_internals/zeebe_pb2.py

This file was deleted.

Loading

0 comments on commit 212b7ff

Please sign in to comment.