Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.2 - Add connection-initialization event #50

Merged
merged 1 commit into from
Apr 7, 2023
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
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.0
hash=510e3397b6792736f91654e3847ccf43
hash=67c11985b808ec63e99497bfbb8b0c15
=====================================
-->

# runtimepy ([1.0.1](https://pypi.org/project/runtimepy/))
# runtimepy ([1.0.2](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: 1
minor: 0
patch: 1
patch: 2
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 = "1.0.1"
version = "1.0.2"
description = "A framework for implementing Python services."
readme = "README.md"
requires-python = ">=3.7"
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.0
# hash=a869e3ab405cc0055ec5bb7a73182b8b
# hash=f046ffa060de0f7a1c7e94b145c190e2
# =====================================

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

DESCRIPTION = "A framework for implementing Python services."
PKG_NAME = "runtimepy"
VERSION = "1.0.1"
VERSION = "1.0.2"
2 changes: 2 additions & 0 deletions runtimepy/net/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self, logger: _LoggerType) -> None:
self.tx_binary_hwm: int = 0

self._tasks: _List[_asyncio.Task[None]] = []
self.initialized = _asyncio.Event()
self.init()

def init(self) -> None:
Expand Down Expand Up @@ -111,6 +112,7 @@ async def _async_init(self) -> None:

if not await self.async_init():
self.disable("init failed")
self.initialized.set()

async def process(self, stop_sig: _asyncio.Event = None) -> None:
"""
Expand Down