Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.video
Commits
2ccd0c26
Commit
2ccd0c26
authored
Jan 10, 2018
by
Manuel Günther
Browse files
Merge branch 'super' into 'master'
pass kwargs in the base file class See merge request
!26
parents
af11e17f
030c796f
Pipeline
#15128
passed with stages
in 26 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/database/database.py
View file @
2ccd0c26
...
@@ -8,12 +8,12 @@ from ..utils import FrameSelector
...
@@ -8,12 +8,12 @@ from ..utils import FrameSelector
class
VideoBioFile
(
BioFile
):
class
VideoBioFile
(
BioFile
):
def
__init__
(
self
,
client_id
,
path
,
file_id
):
def
__init__
(
self
,
client_id
,
path
,
file_id
,
**
kwargs
):
"""
"""
Initializes this File object with an File equivalent for
Initializes this File object with an File equivalent for
VoxForge database.
VoxForge database.
"""
"""
super
(
VideoBioFile
,
self
).
__init__
(
client_id
=
client_id
,
path
=
path
,
file_id
=
file_id
)
super
(
VideoBioFile
,
self
).
__init__
(
client_id
=
client_id
,
path
=
path
,
file_id
=
file_id
,
**
kwargs
)
def
load
(
self
,
directory
=
None
,
extension
=
'.avi'
,
frame_selector
=
FrameSelector
()):
def
load
(
self
,
directory
=
None
,
extension
=
'.avi'
,
frame_selector
=
FrameSelector
()):
return
frame_selector
(
self
.
make_path
(
directory
,
extension
))
return
frame_selector
(
self
.
make_path
(
directory
,
extension
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment