Skip to content

Commit

Permalink
v.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gelio5 committed May 27, 2024
1 parent d4259fa commit 67f6e0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions step_driver_g071_api/step_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def retry(
num_retries: int = 5,
sleep_time: float = 0.01,
):
"""Using for decorate multiple tries of function calling"""
def decorate(func):
@wraps(func)
def wrapper(*args, **kwargs):
Expand Down Expand Up @@ -173,8 +174,10 @@ def _update_encoder(self) -> None:

@property
def status(self):
"""Getter for private status field"""
return self._status

@property
def encoder(self):
"""Getter for private encoder field"""
return self._encoder

0 comments on commit 67f6e0e

Please sign in to comment.