@decorator decorators lose their name when called with arguments
@decorator decorators lose their name when called with arguments: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When using @decorator from funcy to create a decorator that accepts arguments, calling the decorator with arguments returns a new decorator whose name is ' decorator' instead…
The task
When using `@decorator` from `funcy` to create a decorator that accepts arguments, calling the decorator with arguments returns a new decorator whose `__name__` is `'_decorator'` instead of the original decorator's name. Additionally, there's no way to introspect the decorator's underlying function, positional args,…
Part of FineEnvs/repo2rlenv-r2e-gym.