Commit 2faffe2d authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

fixing sphinx

parent f22853af
Pipeline #8975 failed with stages
in 22 minutes and 23 seconds
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
# @date: Wed May 18 10:09:22 CET 2016 # @date: Wed May 18 10:09:22 CET 2016
# #
from bob.bio.base.database import BioFile import bob.bio.base.database
class PadFile(bob.bio.base.database.BioFile):
class PadFile(BioFile):
"""A simple base class that defines basic properties of File object for the use in PAD experiments""" """A simple base class that defines basic properties of File object for the use in PAD experiments"""
def __init__(self, client_id, path, attack_type=None, file_id=None): def __init__(self, client_id, path, attack_type=None, file_id=None):
......
...@@ -219,7 +219,7 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase): ...@@ -219,7 +219,7 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase):
return self.__client_id_list__(groups, 'for_real', protocol) return self.__client_id_list__(groups, 'for_real', protocol)
def objects(self, groups=None, protocol=None, purposes=None, model_ids=None, **kwargs): def objects(self, groups=None, protocol=None, purposes=None, model_ids=None, **kwargs):
"""Returns a set of :py:class:`File` objects for the specific query by the user. """Returns a set of :py:class:`PadFile` objects for the specific query by the user.
Keyword Parameters: Keyword Parameters:
...@@ -239,7 +239,7 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase): ...@@ -239,7 +239,7 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase):
model_ids : [various type] model_ids : [various type]
This parameter is not supported in PAD databases yet This parameter is not supported in PAD databases yet
Returns: A list of :py:class:`File` objects considering all the filtering criteria. Returns: A list of :py:class:`PadFile` objects considering all the filtering criteria.
""" """
purposes = self.check_parameters_for_validity(purposes, "purpose", ('real', 'attack')) purposes = self.check_parameters_for_validity(purposes, "purpose", ('real', 'attack'))
...@@ -273,3 +273,9 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase): ...@@ -273,3 +273,9 @@ class FileListPadDatabase(FileListBioDatabase, PadDatabase):
def annotations(self, file): def annotations(self, file):
return super(FileListPadDatabase, self).annotations(file) return super(FileListPadDatabase, self).annotations(file)
def tobjects(self, groups=None, protocol=None, model_ids=None, **kwargs):
pass
def zobjects(self, groups=None, protocol=None, **kwargs):
pass
...@@ -4,3 +4,4 @@ bob.bio.spear ...@@ -4,3 +4,4 @@ bob.bio.spear
gridtk gridtk
bob.db.base bob.db.base
bob.db.avspoof bob.db.avspoof
bob.bio.base
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment