Skip to content

Conversation

preearor
Copy link
Contributor

#43

  • Support for / in handler name
  • Added test for the same
  • Updated to get the module name to check for builtin module even if customer gives handler name with (a.b.module_name)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

preearor and others added 2 commits June 16, 2021 12:13

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Contributor

@SukanyaHanumanthu SukanyaHanumanthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@keshayad keshayad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good


try:
if modname.split(".")[0] in sys.builtin_module_names:
if modname.split(".")[-1] in sys.builtin_module_names:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to cover this in the test suites too

@preearor
Copy link
Contributor Author

Raising another PR, to add test cases and revert the check for built-in module

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

Successfully merging this pull request may close these issues.

None yet

4 participants