Permalink
Browse files

Fixing type checks and int typing

  • Loading branch information...
Ubuntu
Ubuntu committed May 16, 2018
1 parent 5b3b65d commit d77eee3f6371a373fe138b92cb8e2df5f257c521
@@ -331,7 +331,7 @@
S3_BUCKET = env('S3_BUCKET', default="")
S3_DOCUMENT_PATH = env('S3_DOCUMENT_PATH', default="openedgar")
S3_PREFIX = env('S3_PREFIX', default="documents")
S3_COMPRESSION_LEVEL = env('S3_COMPRESSION_LEVEL', default=6)
S3_COMPRESSION_LEVEL = int(env('S3_COMPRESSION_LEVEL', default=6))

# Tika configuration
TIKA_HOST = "localhost"
@@ -127,7 +127,7 @@ def process_all_filing_index(year: int = None, form_type_list: Iterable[str] = N
logger.info("Skipping process_filing_index for {0}...".format(s3_path))


def search_filing_documents(term_list: Sized[str], form_type_list: Iterable[str] = None, sequence: int = None,
def search_filing_documents(term_list: Iterable[str], form_type_list: Iterable[str] = None, sequence: int = None,
case_sensitive: bool = False,
token_search: bool = False, stem_search: bool = False):
"""
@@ -0,0 +1 @@
wget http://www-us.apache.org/dist/tika/tika-server-1.18.jar
@@ -0,0 +1 @@
java -jar tika-server-1.18.jar

0 comments on commit d77eee3

Please sign in to comment.