Skip to content

Commit

Permalink
Merge pull request #112 from vkottler/dev/2.6.7
Browse files Browse the repository at this point in the history
2.6.7 - Minor updates
  • Loading branch information
vkottler authored Sep 11, 2023
2 parents ead3088 + e39be0b commit db9ca3b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- run: |
mk python-release owner=vkottler \
repo=runtimepy version=2.6.6
repo=runtimepy version=2.6.7
if: |
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
=====================================
generator=datazen
version=3.1.3
hash=7ef397bccc7420b6048e29034ab9a14e
hash=790eb511bd706c64175f59e2d84fb0c5
=====================================
-->

# runtimepy ([2.6.6](https://pypi.org/project/runtimepy/))
# runtimepy ([2.6.7](https://pypi.org/project/runtimepy/))

[![python](https://img.shields.io/pypi/pyversions/runtimepy.svg)](https://pypi.org/project/runtimepy/)
![Build Status](https://github.com/vkottler/runtimepy/workflows/Python%20Package/badge.svg)
Expand Down
2 changes: 1 addition & 1 deletion local/variables/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
major: 2
minor: 6
patch: 6
patch: 7
entry: runtimepy
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:__legacy__"

[project]
name = "runtimepy"
version = "2.6.6"
version = "2.6.7"
description = "A framework for implementing Python services."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
4 changes: 2 additions & 2 deletions runtimepy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.3
# hash=66fefb4866ffce057ab1af4114fa43c7
# hash=18c7312c2ee34e91a3d363293ed7202d
# =====================================

"""
Expand All @@ -10,4 +10,4 @@

DESCRIPTION = "A framework for implementing Python services."
PKG_NAME = "runtimepy"
VERSION = "2.6.6"
VERSION = "2.6.7"
5 changes: 5 additions & 0 deletions runtimepy/channel/environment/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ def channel(
name, kind, commandable=commandable, enum=enum
)
assert result is not None, f"Can't create channel '{name}'!"

# Keep track of any new enum channels.
if enum is not None:
self.channel_enums[result] = self.enums[enum]

return self[name]

def int_channel(
Expand Down
4 changes: 4 additions & 0 deletions runtimepy/net/arbiter/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@
class ArbiterTask(PeriodicTask):
"""A base class for arbiter periodic tasks."""

app: AppInfo

async def init(self, app: AppInfo) -> None:
"""Initialize this task with application information."""

self.app = app


class ArbiterTaskManager(PeriodicTaskManager[ArbiterTask]):
"""A task-manger class for the connection arbiter."""
Expand Down

0 comments on commit db9ca3b

Please sign in to comment.