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

Lack of documentation on how to use from python #11

Open
yhojann-cl opened this issue Jun 7, 2020 · 1 comment
Open

Lack of documentation on how to use from python #11

yhojann-cl opened this issue Jun 7, 2020 · 1 comment

Comments

@yhojann-cl
Copy link

This package is part of the pip repository manager for python, fine, but how do you use it from a python script? There is only information on how to run it as a binary.

@tardyp
Copy link

tardyp commented Jul 13, 2021

from format_sql.shortcuts import format_sql

formatted = format_sql(sql)

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

No branches or pull requests

2 participants