pyinstrument icon indicating copy to clipboard operation
pyinstrument copied to clipboard

Profiler().write_html() does not accept "show_all" argument, in contrast with API docs

Open JasperHofman opened this issue 1 year ago • 3 comments

Profiler().write_html() does not accept "show_all" argument, in contrast with API docs. Overwriting this in the code by providing the HTMLRenderer() object with the "show_all" parameter solves the issue

JasperHofman avatar Jan 23 '24 15:01 JasperHofman

Hi there. What do you mean by 'show_false'? I don't see this in the API docs.

joerick avatar Jan 23 '24 16:01 joerick

https://pyinstrument.readthedocs.io/en/latest/reference.html#pyinstrument.Profiler.write_html

My appologies, I meant "show_all".

JasperHofman avatar Jan 24 '24 10:01 JasperHofman

Ah, it looks like that was added but not yet released. I'll try to get a release out soon.

joerick avatar Jan 24 '24 11:01 joerick