We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Format
Let users pass a callable (derive placeholders based on what has defaults?). How to distinguish from old-style formats in config?
E.g.
def my_format(id, name, is_nice=None) -> str: s = f"{id}:{name}" if is_nice is not None: s += f":{is_nice}" return s
Would be equivalent to Format("{id}:{name}[:{is_nice}]").
Format("{id}:{name}[:{is_nice}]")
The text was updated successfully, but these errors were encountered:
Effect on complex formats (implicit joins with other tables)?
https://github.com/rsundqvist/id-translation/blob/master/tests/dvdrental/test_complex_format.py
Sorry, something went wrong.
No branches or pull requests
Let users pass a callable (derive placeholders based on what has defaults?). How to distinguish from old-style formats in config?
E.g.
Would be equivalent to
Format("{id}:{name}[:{is_nice}]")
.The text was updated successfully, but these errors were encountered: