Skip to content

Commit

Permalink
Remove repr and str
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Nov 8, 2024
1 parent 7236487 commit d14f618
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/posit/connect/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,6 @@ def __init__(
self._ctx = ctx
self._path = path

# TODO-barret-future: Keep this method for now, but consider removing it in the future (or adopting it into `Active` class)
def __str__(self) -> str:
return self.__repr__()

def __repr__(self) -> str:
# CLASSNAME - v1/content/123/path; {'guid': '123', 'name': 'My Content'}
return repr(f"{self.__class__.__name__} - {self._path}; {super().__repr__()}")


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

0 comments on commit d14f618

Please sign in to comment.