-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
String replacement used in image-content-search Python example #679
Comments
Since this is a request for an enhancement (the code isn't broken, just has a poor approach), I have switched the issue to a feature-request. However I have kept a high priority since it seems that this is something that should be tackled sooner than later. |
|
1 similar comment
|
* Fix(py/image-content-search: Swap replace with format Fixes #679 * Fix(py/appsync): Update code and testing deploying Fixes #287 --------- Co-authored-by: Michael Kaiser <[email protected]>
Describe the bug
During code review of a separate PR, it was noticed that
python/image-content-search/src/landingPage/main.py
uses a string replacement. This is Not GreatExpected Behavior
No usage of the string.replace() method is expected
Current Behavior
Around line 14 of
python/image-content-search/src/landingPage/main.py
, we have the following line:Reproduction Steps
Open python/image-content-search/src/landingPage/main.py` and review the code, no deployment necessary
Possible Solution
One possible alternative is to use the
sub
function from there
moduleAdditional Information/Context
No response
CDK CLI Version
Framework Version
No response
Node.js Version
OS
Language
Python
Language Version
No response
The text was updated successfully, but these errors were encountered: