Revised the code for PEP8.

This commit is contained in:
2020-07-16 22:25:33 +08:00
parent 5b9ac93ee5
commit 42e444b8c8
3 changed files with 5 additions and 4 deletions

View File

@ -63,7 +63,7 @@ class Language:
def get_multi_language_attr(model, name):
"""Returns a multi-language attribute of a data model.
Args:
model (object): The data model.
name (str): The attribute name.
@ -466,6 +466,7 @@ class SqlQuery:
"""
sql = ""
params = []
def __init__(self, sql, params):
self.sql = sql
self.params = params