Arelle / ixbrl-viewer

The Arelle iXBRL Viewer allows Inline XBRL (or iXBRL) reports to be viewed interactively in a web browser. The viewer allows users to access the tagged XBRL data embedded in an iXBRL report.
Other
90 stars 55 forks source link

Default value for `viewerURL` when using Arelle Python API #656

Closed aaroncameron-wk closed 3 months ago

aaroncameron-wk commented 3 months ago

Reason for change

Using the plugin from the Arelle Python API means not having access to command line argument defaults. It would be nice to not have to provide viewerURL in RuntimeOptions and have the default value take its place.

Steps to Test

Fairly straight forward change, but if you're curious to test it you can construct a RuntimeOptions instance:

RuntimeOptions(
    entrypointFile=str(target_path),
    keepOpen=True,
    pluginOptions={
        'saveViewerDest': str(viewer_path),
    },
    plugins='ixbrl-viewer',
)

and pass it into CntlrCmdLine

review: @Arelle/arelle @paulwarren-wk

aviary-wf commented 3 months ago

Security Insights

No security relevant content was detected by automated scans.

Action Items