Function to take an object from the environment. Args: object: Name of the object to take **kwargs: Additional arguments that might be passed
(object: str, **kwargs)
| 65 | |
| 66 | |
| 67 | def take_object(object: str, **kwargs) -> Tuple[FunctionResultStatus, str, dict]: |
| 68 | """ |
| 69 | Function to take an object from the environment. |
| 70 | |
| 71 | Args: |
| 72 | object: Name of the object to take |
| 73 | **kwargs: Additional arguments that might be passed |
| 74 | """ |
| 75 | |
| 76 | if object: |
| 77 | return FunctionResultStatus.DONE, f"Successfully took the {object}", {} |
| 78 | return FunctionResultStatus.FAILED, "No object specified", {} |
| 79 | |
| 80 | |
| 81 | def throw_object(object: str, **kwargs) -> Tuple[FunctionResultStatus, str, dict]: |
nothing calls this directly
no outgoing calls
no test coverage detected