You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the source of this use case is that PascalCase module are not mapped to snake_case but only lowercase. Which cause a missmatch if a snake_case kindname is used.
FluidpagePage --> get modulname: fluidpagepage but should better be fluidpage_page
Here a snippet for this from chähtgipiti:
importredefpascal_to_snake(text):
# Insert underscores between lowercase and uppercase letters and convert to lowercasesnake_case=re.sub(r'(?<!^)(?=[A-Z])', '_', text).lower()
returnsnake_case# Example usagepascal_case_string="PascalCaseString"snake_case_string=pascal_to_snake(pascal_case_string)
print(snake_case_string) # Outputs: pascal_case_string
The text was updated successfully, but these errors were encountered:
or reference the module in the skeleton.
But the source of this use case is that
PascalCase
module are not mapped tosnake_case
but only lowercase. Which cause a missmatch if asnake_case
kindname is used.FluidpagePage
--> get modulname:fluidpagepage
but should better befluidpage_page
Here a snippet for this from chähtgipiti:
The text was updated successfully, but these errors were encountered: