Skip to content

Conversation

martinm37
Copy link

@martinm37 martinm37 commented Oct 11, 2025

I have done 3 changes:

  1. I have added back the processors and processor_options attributes into the HTMLRenderer class, so that JSONForHTMLRenderer class can have access to them, when created by HTMLRenderer.

  2. In the process of doing 1), I have renamed attribute HTMLRenderer.preprocessors to HTMLRenderer.processors, as it seems more logical. Because of this magic.py had to be updated.

  3. I have added these 2 attributes into the Profiler.output_html, as without them one test was not passing.

I have also wanted to update the online docs, but I did not find a way how to change the docs/reference.md.

This PR addresses the issue #401

I have done 3 changes:

1) I have added back the processors and processor_options attributes into the HTMLRenderer class, so that
JSONForHTMLRenderer class can have access to them, when created by HTMLRenderer.

2) In the process of doing 1), I have renamed attribute HTMLRenderer.preprocessors to HTMLRenderer.processors, as it seems
more logical. Because of this magic.py had to be updated.

3) I have added these 2 attributes inputs into the Profiler.output_html, as without them one test was not passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant