(self)
returns the current number of uploaded attachments in the filesystem
returns the current number of uploaded attachments in the filesystem
returns the current number of uploaded attachments in the filesystem
def num_attachments(self):
        """returns the current number of uploaded attachments in the filesystem"""
        if exists(self.fs_attachment_container):
            return len(listdir(self.fs_attachment_container))
        else:
            return 0
def num_attachments ( self ) : if exists ( self . fs_attachment_container ) : return len ( listdir ( self . fs_attachment_container ) ) else : return 0