Skip to content

Fix f-string related error#3

Open
Altrix-One wants to merge 1 commit into
tbocloud:mainfrom
EPIUSECX:main
Open

Fix f-string related error#3
Altrix-One wants to merge 1 commit into
tbocloud:mainfrom
EPIUSECX:main

Conversation

@Altrix-One

Copy link
Copy Markdown

This error is because you used escaped quotes (") inside the f-string expression, which Python does not allow inside the inner {} part of an f-string.

The inner f-string f'"{t}"' is the issue.
You don’t need to escape quotes if you alternate ' and " correctly.

Explanation: "{t!r}" automatically wraps values in quotes using Python’s repr().

I have corrected the f-string on line 37 ai_inventory/ai_inventory/ai_accounts_forecast/models/account_forecast.py. You should now be able to install without the f-string related error.

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