Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

@log_call decorator should work with Path properly #508

Open
antonkulaga opened this issue Dec 20, 2024 · 1 comment
Open

@log_call decorator should work with Path properly #508

antonkulaga opened this issue Dec 20, 2024 · 1 comment

Comments

@antonkulaga
Copy link

So far @log_call fails to propery log Path arguments. As everybody uses pathlib now it causes a lot of headache.

@itamarst
Copy link
Owner

That's a good idea yeah. Would you be interested in opening a PR? Basically you'd add a conversion to strings here: https://github.com/itamarst/eliot/blob/master/eliot/json.py#L24

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants