Skip to content

Conversation

paaanic
Copy link

@paaanic paaanic commented Jul 13, 2022

This PR contains 2 changes in FlaskApiSpec.register_existing_resources:

  • Move skipping static rules to the beginning as there is no need to try splitting names if we want to continue loop
  • Change name.split -> name.rsplit(..., maxsplit=1) to handle nested blueprints because they produce more than one dot in name

paaanic added 2 commits July 13, 2022 21:55
Move skipping static rules to the beginning of the loop
Add handling of nested blueprints in name splitting
@paaanic paaanic changed the title Fix routes autodiscovering [FIX] Fix register_existing_resources Jul 13, 2022
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