Skip to content

Commit 68aaca4

Browse files
authored
VER: Release 0.68.2
See release notes.
2 parents a3128aa + f633b75 commit 68aaca4

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.68.2 - 2026-01-06
4+
5+
#### Bug fixes
6+
- Fix use of `Self` in `GatewayControl.parse()`
7+
38
## 0.68.1 - 2025-12-16
49

510
#### Enhancements

databento/live/gateway.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from io import BytesIO
66
from operator import attrgetter
77
from typing import SupportsBytes
8+
from typing import TypeVar
89

910
from databento_dbn import Encoding
1011
from databento_dbn import Schema
1112
from databento_dbn import SType
12-
from typing_extensions import Self
1313

1414
from databento.common.publishers import Dataset
1515
from databento.common.system import USER_AGENT
@@ -24,8 +24,10 @@ class GatewayControl(SupportsBytes):
2424
Base class for gateway control messages.
2525
"""
2626

27+
GC = TypeVar("GC", bound="GatewayControl")
28+
2729
@classmethod
28-
def parse(cls: type[Self], line: str | bytes) -> Self:
30+
def parse(cls: type[GC], line: str | bytes) -> GC:
2931
"""
3032
Parse a `GatewayControl` message from a string.
3133

databento/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.68.1"
1+
__version__ = "0.68.2"

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "databento"
3-
version = "0.68.1"
3+
version = "0.68.2"
44
description = "Official Python client library for Databento"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -81,4 +81,3 @@ asyncio_mode = "auto"
8181

8282
[tool.ruff]
8383
extend = "../ruff.toml"
84-
target-version = "py310"

0 commit comments

Comments
 (0)