From 36ed18b29e288835a93785fe47a85a765ab2962d Mon Sep 17 00:00:00 2001
From: Fabian Zills <46721498+PythonFZ@users.noreply.github.com>
Date: Mon, 16 Dec 2024 08:46:18 +0100
Subject: [PATCH] remove repr (#126)

---
 README.md            | 1 +
 pyproject.toml       | 2 +-
 tests/test_znflow.py | 2 +-
 znflow/base.py       | 4 ++--
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 787bf34..b9837ec 100644
--- a/README.md
+++ b/README.md
@@ -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
 
diff --git a/pyproject.toml b/pyproject.toml
index d272103..8080af3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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 <zincwarecode@gmail.com>"]
 license = "Apache-2.0"
diff --git a/tests/test_znflow.py b/tests/test_znflow.py
index 0e58bae..fa8b569 100644
--- a/tests/test_znflow.py
+++ b/tests/test_znflow.py
@@ -5,4 +5,4 @@
 
 def test_version():
     """Test the version."""
-    assert znflow.__version__ == "0.2.3"
+    assert znflow.__version__ == "0.2.4"
diff --git a/znflow/base.py b/znflow/base.py
index d9e4c37..d69446d 100644
--- a/znflow/base.py
+++ b/znflow/base.py
@@ -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("_"):