hub.extraConfig Section: Pass a file instead of code

Is there any way to pass a file instead of python code to extraConfig ?

The objective of this story is to try to isolate non-environment specific code contained within the hub.extraConfig section of the values.yaml file into stand-alone python file that is executed when Jupyter Hub is initialized (started).

Any insights shared on this would be helpful.

Thank you.

It’s a bit more complicated, but it can be done with hub.extraFiles