Skip to content

Fix instruction decorator missing link handling#163

Open
echo-wee wants to merge 1 commit into
CoderWanFeng:developfrom
echo-wee:fix-instruction-decorator-missing-link
Open

Fix instruction decorator missing link handling#163
echo-wee wants to merge 1 commit into
CoderWanFeng:developfrom
echo-wee:fix-instruction-decorator-missing-link

Conversation

@echo-wee

Copy link
Copy Markdown

Summary

  • Avoid KeyError when an API function is decorated but missing from the instruction URL map
  • Keep decorated functions runnable even when documentation links have not been configured yet
  • Add a regression test for an undocumented function from a known API file

Test

  • python -m unittest tests.test_code.test_instruction_url

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.

1 participant