It would be cool to have this as base config. I'm primarily wanting this
for testing Docker builds before promoting Docker images to production.

On Tuesday, November 1, 2016, MinRK <[email protected]> wrote:

> There isn’t a good mechanism builtin. I’ve been using this script
> <https://gist.github.com/c73676c4b5e81da4302638845fa631ef> for a number
> of years to peek at config.
>
> For simple cases, you can load individual config files with
> PyFileConfigLoader and dump the resulting config dict. But that doesn’t
> rigorously mimic the hierarchy of files that the application can load. To
> do that, you would need to run the full config-loading. Here is a script
> <https://gist.github.com/e9651ff37efd4fc85e82206bb6c717ce> that runs
> through the full initialization of any traitlets.config.Application and
> dumps its config instead of starting.
>
> We should probably add a similar config option to the base Application so
> that every descendant can easily do this.
>
> -MinRK
> ​
>
> On Mon, Oct 31, 2016 at 11:32 PM, Kyle Kelley <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> Does anyone know of a good way to dump the config of a notebook server
>> (without the server running)?
>>
>> I'm basically wanting to know what the config object would be after
>> reading all the config files (system, user, etc.).
>>
>>
>> --
>> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <javascript:_e(%7B%7D,'cvml','jupyter%[email protected]');>.
>> To post to this group, send email to [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jupyter/CA%2BtbMaWRgyeOsEd%2B7a8UHj3ewn0U%3DYFWG3wzB4aVb
>> suFCRGm4A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CA%2BtbMaWRgyeOsEd%2B7a8UHj3ewn0U%3DYFWG3wzB4aVbsuFCRGm4A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','jupyter%[email protected]');>.
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAHNn8BU3k7dT4kaXZ1_VNXtCCAK%2BREacr9M4L%2B1orJvh0juypg%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAHNn8BU3k7dT4kaXZ1_VNXtCCAK%2BREacr9M4L%2B1orJvh0juypg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com)

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CA%2BtbMaXDqfO%3DPqaCBr_nbQpUdDcezDGc0yR_hwLs5ifPC4PoVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to