Skip to content

Instantly share code, notes, and snippets.

@Naltharial
Created June 15, 2020 16:35
Show Gist options
  • Save Naltharial/d14cce09cca24967fbed6ef35943d227 to your computer and use it in GitHub Desktop.
Save Naltharial/d14cce09cca24967fbed6ef35943d227 to your computer and use it in GitHub Desktop.
17:34 D:\Development\AppAdvice\FileScan\Redacted.ai-API-Internal-V1\WebAPI> pipenv run python .\cli.py -t eyJhbGciOiJSUzI1NiIsImtpZCI6IjRlMjdmNWIwNjllYWQ4ZjliZWYxZDE0Y2M2Mjc5YmRmYWYzNGM1MWIiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiTHVjaXVzIE1hbmxpdXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tLy04cTdyT0d1SWFqWS9BQUFBQUFBQUFBSS9BQUFBQUFBQUFBQS9BQ0hpM3Jma3ZOcG45R2U2dkpvUW1VdEZ5NWVmWHU0by1nL3Bob3RvLmpwZyIsInJvbGVzIjp7IlYwQlhZZklNb1hYZ0RoY2EwRDZFIjoicmVhZCIsIlJyU2xpRjJPZVJ5dk5ib0huTFNNIjoib3duZXIifSwiYWNjZXNzX2lkcyI6WyJWMEJYWWZJTW9YWGdEaGNhMEQ2RSIsIlJyU2xpRjJPZVJ5dk5ib0huTFNNIl0sImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9yZWRhY3RlZC1haS1iZXRhIiwiYXVkIjoicmVkYWN0ZWQtYWktYmV0YSIsImF1dGhfdGltZSI6MTU5MjIyNDMxNiwidXNlcl9pZCI6IkhvVFlvb0FsVllVWlJBbmVNMGRiVTMxdE84MDMiLCJzdWIiOiJIb1RZb29BbFZZVVpSQW5lTTBkYlUzMXRPODAzIiwiaWF0IjoxNTkyMjMyMjcxLCJleHAiOjE1OTIyMzU4NzEsImVtYWlsIjoibHVjaXVzLm1hbmxpdXNAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTYzODcyMjk5MTgxNTM2MTgzNzYiXSwiZW1haWwiOlsibHVjaXVzLm1hbmxpdXNAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.orxYFmod-pm4RaXQ2b7TeOtFLF7x-AofO2cWst3OIyLCL00FK1QDUMFyGocYCXAvkgwYFFUFZyHIu6D1Yb0WPbkKg3an-I0dj3jCmfBXuxtOBezfyDAWEW28GjkGNV-U-EFTR882NtlFWcGYJKgpONN70DP9yiir0nMwVddHmMbedQ0cv7nVKc_L4lja7SuM5816V2XKMcRZQFI2OmpVNVWNlB7l4JK0YudA0ZewdoIb4-HTdLWQd9bXwR0OfkYOruMescJY60oudBn1O6v0vwSb0jcnC6t5RALj94GweSWWrkyIQmFyOv-AanG2pVSC2rfatkXp1GiK_84fDd5HVg
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:12,306 - INFO - No SENTRY_DSN found, skipping.
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:12,307 - INFO - Requesting new docuset
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:13,116 - INFO - Created new docuset with id h1ejR4diADvA3DiS0wxr
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:13,116 - INFO - Requesting new document
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:13,890 - INFO - Created new document with id oXG7TC9qt9lBdH8BvFrq
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:13,890 - INFO - Uploading file to Storage
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:14,394 - INFO - Uploaded document
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:17,395 - INFO - Checking document status, attempt 1
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:35,610 - INFO - -- received status processed
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:41,610 - INFO - Submitting processed request
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:42,942 - INFO - Processed 3820272651 requested
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:45,944 - INFO - Checking document/processed status, attempt 1
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:46,304 - INFO - -- received hash 3820272651 status initialized
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:49,304 - INFO - Checking document/processed status, attempt 2
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:49,648 - INFO - -- received hash 3820272651 status redacting
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:52,648 - INFO - Checking document/processed status, attempt 3
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:53,028 - INFO - -- received hash 3820272651 status redacting
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:56,028 - INFO - Checking document/processed status, attempt 4
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:56,410 - INFO - -- received hash 3820272651 status redacting
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:59,410 - INFO - Checking document/processed status, attempt 5
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:59,792 - INFO - -- received hash 3820272651 status processed
[MainProcess Redacted-WebAPI] 2020-06-15 17:42:59,793 - INFO - Getting file
[MainProcess Redacted-WebAPI] 2020-06-15 17:43:00,336 - INFO - Received final url https://storage.googleapis.com/redacted-ai-beta-processed/HoTYooAlVYUZRAneM0dbU31tO803/oXG7TC9qt9lBdH8BvFrq/3820272651_doc_with_valid_credit_card_numbers.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=665829259718-compute%40developer.gserviceaccount.com%2F20200615%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200615T154354Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&X-Goog-Signature=c723d4c79bc1c688f5012bfd8fb69f5f26b8e4cc294a2a8e5442fe38a3a89f26d65ada26b85a1130cc526f8d9be563a36fa78848f229efd7df50072f831ed7fe621310f3b2172bdd3c3f1336019d53593096097c9960e37ab8692646f377d0e817718234296eb990ee02bd10c7e0f67138c246124e59fa12dca314c9c099704487cc5c5012d114f03eb7a6a80d61879c01e0a28aed14ab2e3d836adb1b0f42f59c3b456474acf8817650bf895a1e37e49617f52c3f9255e349c893ce3c61812c5112b4342ed0007429439f10e87832ead5a2c69f29971dabfa43c89cdc4664a8a59fc67f19f546b35f7213308ae7bdeea5b9e6b98473af5b87d2438ced196bc0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment