Add trailing comma to kw-only args
Welcome to the present!
This commit is contained in:
parent
76523db2b6
commit
13ae208a06
1 changed files with 4 additions and 4 deletions
|
@ -336,7 +336,7 @@ class PDBAlbumMixin:
|
||||||
*,
|
*,
|
||||||
associated_directory=None,
|
associated_directory=None,
|
||||||
commit=True,
|
commit=True,
|
||||||
photos=None
|
photos=None,
|
||||||
):
|
):
|
||||||
'''
|
'''
|
||||||
Create a new album. Photos can be added now or later.
|
Create a new album. Photos can be added now or later.
|
||||||
|
@ -423,7 +423,7 @@ class PDBPhotoMixin:
|
||||||
commit=True,
|
commit=True,
|
||||||
do_metadata=True,
|
do_metadata=True,
|
||||||
do_thumbnail=True,
|
do_thumbnail=True,
|
||||||
tags=None
|
tags=None,
|
||||||
):
|
):
|
||||||
'''
|
'''
|
||||||
Given a filepath, determine its attributes and create a new Photo object in the
|
Given a filepath, determine its attributes and create a new Photo object in the
|
||||||
|
@ -546,7 +546,7 @@ class PDBPhotoMixin:
|
||||||
offset=None,
|
offset=None,
|
||||||
orderby=None,
|
orderby=None,
|
||||||
warning_bag=None,
|
warning_bag=None,
|
||||||
give_back_parameters=False
|
give_back_parameters=False,
|
||||||
):
|
):
|
||||||
'''
|
'''
|
||||||
PHOTO PROPERTIES
|
PHOTO PROPERTIES
|
||||||
|
@ -1112,7 +1112,7 @@ class PhotoDB(PDBAlbumMixin, PDBPhotoMixin, PDBTagMixin, PDBUserMixin):
|
||||||
*,
|
*,
|
||||||
exclude_directories=None,
|
exclude_directories=None,
|
||||||
exclude_filenames=None,
|
exclude_filenames=None,
|
||||||
commit=True
|
commit=True,
|
||||||
):
|
):
|
||||||
'''
|
'''
|
||||||
Create an album, and add the directory's contents to it recursively.
|
Create an album, and add the directory's contents to it recursively.
|
||||||
|
|
Loading…
Reference in a new issue