Skip to content
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

🎨 Refactor string concatenation in model descriptions #3313

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

ff137
Copy link
Contributor

@ff137 ff137 commented Oct 25, 2024

Just some minor artsy cleanup --

I noticed that using the backslash for line continuation includes all the whitespace of the code indentation in the final string. So, the openapi docs would generate a description as:

The value is used once for a particular domain and window of time.                     This value is ...

So, quick fix: replace \ for line continuation with string concatenation

edit: also fixes mediation typo, while I'm at it

@jamshale
Copy link
Contributor

Not sure why this got caught in the unit tests but not ruff linting check, but looks like one line is too long.

image

Signed-off-by: ff137 <[email protected]>
@ff137
Copy link
Contributor Author

ff137 commented Oct 25, 2024

@jamshale Thanks! Forgot to check

Copy link

@jamshale jamshale merged commit d8b850b into openwallet-foundation:main Oct 25, 2024
10 checks passed
@ff137 ff137 deleted the art/fix-model-descriptions branch October 25, 2024 21:11
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.

2 participants