Skip to content

Commit d14f618

Browse files
committed
Remove repr and str
1 parent 7236487 commit d14f618

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/posit/connect/_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ def __init__(
144144
self._ctx = ctx
145145
self._path = path
146146

147-
# TODO-barret-future: Keep this method for now, but consider removing it in the future (or adopting it into `Active` class)
148-
def __str__(self) -> str:
149-
return self.__repr__()
150-
151-
def __repr__(self) -> str:
152-
# CLASSNAME - v1/content/123/path; {'guid': '123', 'name': 'My Content'}
153-
return repr(f"{self.__class__.__name__} - {self._path}; {super().__repr__()}")
154-
155147

156148
T = TypeVar("T", bound="ReadOnlyDict")
157149
"""A type variable that is bound to the `Active` class"""

0 commit comments

Comments
 (0)