-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MNT] Remove trailing slashes from all paths + rename NB_FAPI_ROOT_PATH
#157
Conversation
Reviewer's Guide by SourceryThis PR removes trailing slashes from API paths for consistency and renames the environment variable from NB_FAPI_ROOT_PATH to NB_FAPI_BASE_PATH. The changes are implemented by updating the API route definitions, revising tests to remove trailing slashes from request calls, and modifying documentation links and badges to reflect these updates. Class diagram for environment variable renamingclassDiagram
class EnvVar {
+string name
+string value
}
class Utility {
<<static>>
+NB_FAPI_BASE_PATH: EnvVar
// Previously: NB_FAPI_ROOT_PATH
}
Utility --> EnvVar : uses
File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #157 +/- ##
=======================================
Coverage 97.37% 97.37%
=======================================
Files 23 23
Lines 724 724
=======================================
Hits 705 705
Misses 19 19 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alyssadai !
🧑🍳
🚀 PR was released in |
Changes proposed in this pull request:
Housekeeping:
NB_FAPI_ROOT_PATH
->NB_FAPI_BASE_PATH
for consistency with other toolsChecklist
This section is for the PR reviewer
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see our Contributing Guidelines for more info)skip-release
(to be applied by maintainers only)Closes #XXXX
For new features:
For bug fixes:
Summary by Sourcery
Remove trailing slashes from all API paths and rename the NB_FAPI_ROOT_PATH environment variable to NB_FAPI_BASE_PATH.
Bug Fixes:
Chores:
NB_FAPI_ROOT_PATH
toNB_FAPI_BASE_PATH
.