Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Deprecate list module specification in dlint.tree.kwarg_attribute #21

Closed
mschwager opened this issue Sep 17, 2019 · 0 comments
Closed

Comments

@mschwager
Copy link
Collaborator

Similar to #20, we should update deprecate kwarg_attribute taking a list module specification and instead take a module path.

tree.kwarg_attribute(call, "kwarg_name", ["mod1", "mod2", "attr"])

Becomes:

tree.kwarg_attribute(call, "kwarg_name", "mod1.mod2.attr")

We should also utilize the Namespace to require fully formed module paths, whereas we currently guess based on common import methods (e.g. ["OneLogin_Saml2_Constants", "DSA_SHA1"] is not the fully formed OneLogin module path).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant