Skip to content

[Plugin] Custom flags in external plugins not discovered when enabled using kwargs #871

Open
@abhinavsingh

Description

@abhinavsingh

Describe the bug

DOES NOT WORK

proxy.Proxy(plugins=["...", "...",]) will not result in discovering custom flags defined in the external plugins.

FOLLOWING 2 SCENARIO WORKS

proxy.Plugin(*("--plugin", "...", "--plugin", "..."))

or

proxy --plugin ....

FIX

args.plugins must be resolved prior to calling Flags.parse for custom flag discovery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug report in proxy serverGood First IssueIssues for new contributors to pick-upPluginRelated to plugin code (not core)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions