Skip to content

Commit

Permalink
remove repr (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ authored Dec 16, 2024
1 parent a253f93 commit 36ed18b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![Coverage Status](https://coveralls.io/repos/github/zincware/ZnFlow/badge.svg?branch=main)](https://coveralls.io/github/zincware/ZnFlow?branch=main)
[![PyPI version](https://badge.fury.io/py/znflow.svg)](https://badge.fury.io/py/znflow)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/zincware/ZnFlow/HEAD)
[![Discord](https://img.shields.io/discord/1034511611802689557)](https://discord.gg/7ncfwhsnm4)

# ZnFlow

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "znflow"
version = "0.2.3"
version = "0.2.4"
description = "A general purpose framework for building and running computational graphs."
authors = ["zincwarecode <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_znflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

def test_version():
"""Test the version."""
assert znflow.__version__ == "0.2.3"
assert znflow.__version__ == "0.2.4"
4 changes: 2 additions & 2 deletions znflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ class Connection:
any slice or list index to be applied to the result
"""

instance: any
instance: Any = dataclasses.field(repr=False)
attribute: str
item: any = None
item: Any = None

def __post_init__(self):
if self.attribute is not None and self.attribute.startswith("_"):
Expand Down

0 comments on commit 36ed18b

Please sign in to comment.