mirror of
				https://github.com/ilri/dspace-statistics-api.git
				synced 2025-10-31 12:51:15 +01:00 
			
		
		
		
	Compare commits
	
		
			15 Commits
		
	
	
		
			v1.3.2
			...
			f3a0e3a671
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f3a0e3a671 | |||
| 4590fc8708 | |||
| 8b924cf450 | |||
| ea24c73a6a | |||
| cd98d33615 | |||
| 9d112266ca | |||
| 2b067050ff | |||
| dc683f2d1c | |||
| f60f529bd7 | |||
| 7db8458201 | |||
| 707f878b94 | |||
| 930250352a | |||
| e27f30ba4d | |||
| 28d1917038 | |||
| fc6a9c2ad1 | 
							
								
								
									
										153
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										153
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,153 @@ | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: python39 | ||||
|  | ||||
| steps: | ||||
| - name: setup | ||||
|   image: postgres:10-alpine | ||||
|   environment: | ||||
|     PGPASSWORD: postgres | ||||
|   commands: | ||||
|   - id | ||||
|   - psql --version | ||||
|   - sleep 5 | ||||
|   - pg_isready -h database -U postgres -d dspacestatistics | ||||
|   - createuser -h database -U postgres dspacestatistics | ||||
|   - psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'" | ||||
|   - psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql | ||||
|  | ||||
| - name: test | ||||
|   image: python:3.9-slim | ||||
|   environment: | ||||
|     PGPASSWORD: dspacestatistics | ||||
|     DATABASE_HOST: database | ||||
|   commands: | ||||
|   - id | ||||
|   - python -V | ||||
|   - apt update && apt install -y gcc | ||||
|   - pip install -r requirements-dev.txt | ||||
|   - pytest | ||||
|  | ||||
| services: | ||||
| - name: database | ||||
|   image: postgres:10-alpine | ||||
|   environment: | ||||
|     POSTGRES_USER: postgres | ||||
|     POSTGRES_PASSWORD: postgres | ||||
|     POSTGRES_DB: dspacestatistics | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: python38 | ||||
|  | ||||
| steps: | ||||
| - name: database | ||||
|   image: postgres:10-alpine | ||||
|   detach: true | ||||
|   environment: | ||||
|     POSTGRES_USER: postgres | ||||
|     POSTGRES_PASSWORD: postgres | ||||
|     POSTGRES_DB: dspacestatistics | ||||
|  | ||||
| - name: setup | ||||
|   image: postgres:10-alpine | ||||
|   environment: | ||||
|     PGPASSWORD: postgres | ||||
|   commands: | ||||
|   - id | ||||
|   - psql --version | ||||
|   - sleep 5 | ||||
|   - pg_isready -h database -U postgres -d dspacestatistics | ||||
|   - createuser -h database -U postgres dspacestatistics | ||||
|   - psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'" | ||||
|   - psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql | ||||
|  | ||||
| - name: test | ||||
|   image: python:3.8-slim | ||||
|   environment: | ||||
|     PGPASSWORD: dspacestatistics | ||||
|     DATABASE_HOST: database | ||||
|   commands: | ||||
|   - id | ||||
|   - python -V | ||||
|   - pip install -r requirements-dev.txt | ||||
|   - pytest | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: python37 | ||||
|  | ||||
| steps: | ||||
| - name: database | ||||
|   image: postgres:10-alpine | ||||
|   detach: true | ||||
|   environment: | ||||
|     POSTGRES_USER: postgres | ||||
|     POSTGRES_PASSWORD: postgres | ||||
|     POSTGRES_DB: dspacestatistics | ||||
|  | ||||
| - name: setup | ||||
|   image: postgres:10-alpine | ||||
|   environment: | ||||
|     PGPASSWORD: postgres | ||||
|   commands: | ||||
|   - id | ||||
|   - psql --version | ||||
|   - sleep 5 | ||||
|   - pg_isready -h database -U postgres -d dspacestatistics | ||||
|   - createuser -h database -U postgres dspacestatistics | ||||
|   - psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'" | ||||
|   - psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql | ||||
|  | ||||
| - name: test | ||||
|   image: python:3.7-slim | ||||
|   environment: | ||||
|     PGPASSWORD: dspacestatistics | ||||
|     DATABASE_HOST: database | ||||
|   commands: | ||||
|   - id | ||||
|   - python -V | ||||
|   - pip install -r requirements-dev.txt | ||||
|   - pytest | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: python36 | ||||
|  | ||||
| steps: | ||||
| - name: database | ||||
|   image: postgres:10-alpine | ||||
|   detach: true | ||||
|   environment: | ||||
|     POSTGRES_USER: postgres | ||||
|     POSTGRES_PASSWORD: postgres | ||||
|     POSTGRES_DB: dspacestatistics | ||||
|  | ||||
| - name: setup | ||||
|   image: postgres:10-alpine | ||||
|   environment: | ||||
|     PGPASSWORD: postgres | ||||
|   commands: | ||||
|   - id | ||||
|   - psql --version | ||||
|   - sleep 5 | ||||
|   - pg_isready -h database -U postgres -d dspacestatistics | ||||
|   - createuser -h database -U postgres dspacestatistics | ||||
|   - psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'" | ||||
|   - psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql | ||||
|  | ||||
| - name: test | ||||
|   image: python:3.6-slim | ||||
|   environment: | ||||
|     PGPASSWORD: dspacestatistics | ||||
|     DATABASE_HOST: database | ||||
|   commands: | ||||
|   - id | ||||
|   - python -V | ||||
|   - pip install -r requirements-dev.txt | ||||
|   - pytest | ||||
|  | ||||
| # vim: ts=2 sw=2 et | ||||
							
								
								
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,25 +0,0 @@ | ||||
| dist: bionic | ||||
| language: python | ||||
| python: | ||||
|   - "3.6" | ||||
|   - "3.7" | ||||
|   - "3.8" | ||||
|   - "3.9" | ||||
|   - "nightly" | ||||
| jobs: | ||||
|   allow_failures: | ||||
|     - python: "nightly" | ||||
| addons: | ||||
|   postgresql: "10" | ||||
| before_script: | ||||
|   - psql --version | ||||
|   - createuser -U postgres dspacestatistics | ||||
|   - psql -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'" | ||||
|   - createdb -U postgres -O dspacestatistics --encoding=UNICODE dspacestatistics | ||||
|   - psql -U postgres -d dspacestatistics < tests/dspacestatistics.sql | ||||
| install: | ||||
|   - "pip install -r requirements.txt" | ||||
|   - "pip install -r requirements-dev.txt" | ||||
| script: pytest | ||||
|  | ||||
| # vim: ts=2 sw=2 et | ||||
| @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. | ||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||||
|  | ||||
| ## Unreleased | ||||
| ### Changed | ||||
| - Add ORDER BY to /items resource to make sure results are returned | ||||
| deterministically | ||||
|  | ||||
| ## [1.3.2] - 2020-11-18 | ||||
| ### Fixed | ||||
| - Minor issue with limit parameter (> 0) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| # DSpace Statistics API [](https://travis-ci.org/ilri/dspace-statistics-api) [](https://builds.sr.ht/~alanorth/dspace-statistics-api?) | ||||
| # DSpace Statistics API [](https://ci.mjanja.ch/alanorth/dspace-statistics-api) [](https://builds.sr.ht/~alanorth/dspace-statistics-api?) | ||||
| DSpace stores item view and download events in a Solr "statistics" core. This information is available for use in the various DSpace user interfaces, but is not exposed externally via any APIs. The DSpace 4/5/6 [REST API](https://wiki.lyrasis.org/display/DSDOC5x/REST+API), for example, only exposes information about communities, collections, item metadata, and bitstreams. | ||||
|  | ||||
| - If your DSpace is version 4 or 5, use [dspace-statistics-api v1.1.1](https://github.com/ilri/dspace-statistics-api/releases/tag/v1.1.1) | ||||
| @@ -81,7 +81,7 @@ The API exposes the following endpoints: | ||||
|  | ||||
|   - GET `/` — return a basic API documentation page. | ||||
|   - GET `/items` — return views and downloads for all items that Solr knows about¹. Accepts `limit` and `page` query parameters for pagination of results (`limit` must be an integer between 1 and 100, and `page` must be an integer greater than or equal to 0). | ||||
|   - POST `/items` — return views and downloads for an arbitrary list of items. Accepts `limit`, `page`, `dateFrom`, and `dateTo` parameters². | ||||
|   - POST `/items` — return views and downloads for an arbitrary list of items with an optional date range. Accepts `limit`, `page`, `dateFrom`, and `dateTo` parameters². | ||||
|   - GET `/item/id` — return views and downloads for a single item (`id` must be a UUID). Returns HTTP 404 if an item id is not found. | ||||
|  | ||||
| The item id is the *internal* UUID for an item. You can get these from the standard DSpace REST API. | ||||
|   | ||||
| @@ -31,7 +31,7 @@ class AllItemsResource: | ||||
|  | ||||
|                 # get statistics and use limit and offset to page through results | ||||
|                 cursor.execute( | ||||
|                     "SELECT id, views, downloads FROM items LIMIT %s OFFSET %s", | ||||
|                     "SELECT id, views, downloads FROM items ORDER BY id LIMIT %s OFFSET %s", | ||||
|                     [limit, offset], | ||||
|                 ) | ||||
|  | ||||
|   | ||||
| @@ -10,7 +10,7 @@ | ||||
|         <ul> | ||||
|             <li>GET <code>/</code> — return a basic API documentation page.</li> | ||||
|             <li>GET <code>/items</code> — return views and downloads for all items that Solr knows about¹. Accepts <code>limit</code> and <code>page</code> query parameters for pagination of results (<code>limit</code> must be an integer between 1 and 100, and <code>page</code> must be an integer greater than or equal to 0).</li> | ||||
|             <li>POST <code>/items</code> — return views and downloads for an arbitrary list of items. Accepts <code>limit</code>, <code>page</code>, <code>dateFrom</code>, and <code>dateTo</code> parameters².</li> | ||||
|             <li>POST <code>/items</code> — return views and downloads for an arbitrary list of items with an optional date range. Accepts <code>limit</code>, <code>page</code>, <code>dateFrom</code>, and <code>dateTo</code> parameters².</li> | ||||
|             <li>GET <code>/item/id</code> — return views and downloads for a single item (<code>id</code> must be a UUID). Returns HTTP 404 if an item id is not found.</li> | ||||
|         </ul> | ||||
|  | ||||
|   | ||||
							
								
								
									
										102
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										102
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ python-versions = "*" | ||||
|  | ||||
| [[package]] | ||||
| name = "appnope" | ||||
| version = "0.1.0" | ||||
| description = "Disable App Nap on OS X 10.9" | ||||
| version = "0.1.2" | ||||
| description = "Disable App Nap on macOS >= 10.9" | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = "*" | ||||
| @@ -75,7 +75,7 @@ python = "<3.7" | ||||
|  | ||||
| [[package]] | ||||
| name = "certifi" | ||||
| version = "2020.11.8" | ||||
| version = "2020.12.5" | ||||
| description = "Python package for providing Mozilla's CA Bundle." | ||||
| category = "main" | ||||
| optional = false | ||||
| @@ -176,20 +176,24 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" | ||||
|  | ||||
| [[package]] | ||||
| name = "importlib-metadata" | ||||
| version = "2.0.0" | ||||
| version = "3.3.0" | ||||
| description = "Read metadata from Python packages" | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" | ||||
| python-versions = ">=3.6" | ||||
| marker = "python_version < \"3.8\"" | ||||
|  | ||||
| [package.extras] | ||||
| docs = ["sphinx", "rst.linker"] | ||||
| testing = ["packaging", "pep517", "importlib-resources (>=1.3)"] | ||||
| docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] | ||||
| testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] | ||||
|  | ||||
| [package.dependencies] | ||||
| zipp = ">=0.5" | ||||
|  | ||||
| [package.dependencies.typing-extensions] | ||||
| version = ">=3.6.4" | ||||
| python = "<3.8" | ||||
|  | ||||
| [[package]] | ||||
| name = "iniconfig" | ||||
| version = "1.1.1" | ||||
| @@ -287,7 +291,7 @@ python-versions = "*" | ||||
|  | ||||
| [[package]] | ||||
| name = "packaging" | ||||
| version = "20.4" | ||||
| version = "20.8" | ||||
| description = "Core utilities for Python packages" | ||||
| category = "dev" | ||||
| optional = false | ||||
| @@ -295,7 +299,6 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" | ||||
|  | ||||
| [package.dependencies] | ||||
| pyparsing = ">=2.0.2" | ||||
| six = "*" | ||||
|  | ||||
| [[package]] | ||||
| name = "parso" | ||||
| @@ -385,7 +388,7 @@ marker = "python_version >= \"3.7\" and python_version < \"4.0\" and sys_platfor | ||||
|  | ||||
| [[package]] | ||||
| name = "py" | ||||
| version = "1.9.0" | ||||
| version = "1.10.0" | ||||
| description = "library with cross-python path, ini-parsing, io, code, log facilities" | ||||
| category = "dev" | ||||
| optional = false | ||||
| @@ -409,7 +412,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" | ||||
|  | ||||
| [[package]] | ||||
| name = "pygments" | ||||
| version = "2.7.2" | ||||
| version = "2.7.3" | ||||
| description = "Pygments is a syntax highlighting package written in Python." | ||||
| category = "dev" | ||||
| optional = false | ||||
| @@ -426,23 +429,22 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" | ||||
|  | ||||
| [[package]] | ||||
| name = "pytest" | ||||
| version = "6.1.2" | ||||
| version = "6.2.0" | ||||
| description = "pytest: simple powerful testing with Python" | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = ">=3.5" | ||||
| python-versions = ">=3.6" | ||||
|  | ||||
| [package.extras] | ||||
| checkqa_mypy = ["mypy (0.780)"] | ||||
| testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] | ||||
|  | ||||
| [package.dependencies] | ||||
| atomicwrites = ">=1.0" | ||||
| attrs = ">=17.4.0" | ||||
| attrs = ">=19.2.0" | ||||
| colorama = "*" | ||||
| iniconfig = "*" | ||||
| packaging = "*" | ||||
| pluggy = ">=0.12,<1.0" | ||||
| pluggy = ">=0.12,<1.0.0a1" | ||||
| py = ">=1.8.2" | ||||
| toml = "*" | ||||
|  | ||||
| @@ -450,18 +452,6 @@ toml = "*" | ||||
| version = ">=0.12" | ||||
| python = "<3.8" | ||||
|  | ||||
| [[package]] | ||||
| name = "pytest-clarity" | ||||
| version = "0.3.0a0" | ||||
| description = "A plugin providing an alternative, colourful diff output for failing assertions." | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" | ||||
|  | ||||
| [package.dependencies] | ||||
| pytest = ">=3.5.0" | ||||
| termcolor = "1.1.0" | ||||
|  | ||||
| [[package]] | ||||
| name = "regex" | ||||
| version = "2020.11.13" | ||||
| @@ -488,22 +478,6 @@ chardet = ">=3.0.2,<4" | ||||
| idna = ">=2.5,<3" | ||||
| urllib3 = ">=1.21.1,<1.27" | ||||
|  | ||||
| [[package]] | ||||
| name = "six" | ||||
| version = "1.15.0" | ||||
| description = "Python 2 and 3 compatibility utilities" | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" | ||||
|  | ||||
| [[package]] | ||||
| name = "termcolor" | ||||
| version = "1.1.0" | ||||
| description = "ANSII Color formatting for output in terminal." | ||||
| category = "dev" | ||||
| optional = false | ||||
| python-versions = "*" | ||||
|  | ||||
| [[package]] | ||||
| name = "toml" | ||||
| version = "0.10.2" | ||||
| @@ -581,7 +555,7 @@ testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2.3)", "pyt | ||||
| [metadata] | ||||
| lock-version = "1.0" | ||||
| python-versions = "^3.6" | ||||
| content-hash = "12341bae9a3c60ddc21a0334682520dd52ca54e35d88370cdfce81c10c125e7e" | ||||
| content-hash = "3cd45aacbfab0e85f74c7a010443432f4d6bf0f6cd3bbb84e11c8c7ea20a4613" | ||||
|  | ||||
| [metadata.files] | ||||
| appdirs = [ | ||||
| @@ -589,8 +563,8 @@ appdirs = [ | ||||
|     {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, | ||||
| ] | ||||
| appnope = [ | ||||
|     {file = "appnope-0.1.0-py2.py3-none-any.whl", hash = "sha256:5b26757dc6f79a3b7dc9fab95359328d5747fcb2409d331ea66d0272b90ab2a0"}, | ||||
|     {file = "appnope-0.1.0.tar.gz", hash = "sha256:8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71"}, | ||||
|     {file = "appnope-0.1.2-py2.py3-none-any.whl", hash = "sha256:93aa393e9d6c54c5cd570ccadd8edad61ea0c4b9ea7a01409020c9aa019eb442"}, | ||||
|     {file = "appnope-0.1.2.tar.gz", hash = "sha256:dd83cd4b5b460958838f6eb3000c660b1f9caf2a5b1de4264e941512f603258a"}, | ||||
| ] | ||||
| atomicwrites = [ | ||||
|     {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, | ||||
| @@ -608,8 +582,8 @@ black = [ | ||||
|     {file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"}, | ||||
| ] | ||||
| certifi = [ | ||||
|     {file = "certifi-2020.11.8-py2.py3-none-any.whl", hash = "sha256:1f422849db327d534e3d0c5f02a263458c3955ec0aae4ff09b95f195c59f4edd"}, | ||||
|     {file = "certifi-2020.11.8.tar.gz", hash = "sha256:f05def092c44fbf25834a51509ef6e631dc19765ab8a57b4e7ab85531f0a9cf4"}, | ||||
|     {file = "certifi-2020.12.5-py2.py3-none-any.whl", hash = "sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830"}, | ||||
|     {file = "certifi-2020.12.5.tar.gz", hash = "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c"}, | ||||
| ] | ||||
| chardet = [ | ||||
|     {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"}, | ||||
| @@ -660,8 +634,8 @@ idna = [ | ||||
|     {file = "idna-2.10.tar.gz", hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"}, | ||||
| ] | ||||
| importlib-metadata = [ | ||||
|     {file = "importlib_metadata-2.0.0-py2.py3-none-any.whl", hash = "sha256:cefa1a2f919b866c5beb7c9f7b0ebb4061f30a8a9bf16d609b000e2dfaceb9c3"}, | ||||
|     {file = "importlib_metadata-2.0.0.tar.gz", hash = "sha256:77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"}, | ||||
|     {file = "importlib_metadata-3.3.0-py3-none-any.whl", hash = "sha256:bf792d480abbd5eda85794e4afb09dd538393f7d6e6ffef6e9f03d2014cf9450"}, | ||||
|     {file = "importlib_metadata-3.3.0.tar.gz", hash = "sha256:5c5a2720817414a6c41f0a49993908068243ae02c1635a228126519b509c8aed"}, | ||||
| ] | ||||
| iniconfig = [ | ||||
|     {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, | ||||
| @@ -692,8 +666,8 @@ mypy-extensions = [ | ||||
|     {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, | ||||
| ] | ||||
| packaging = [ | ||||
|     {file = "packaging-20.4-py2.py3-none-any.whl", hash = "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181"}, | ||||
|     {file = "packaging-20.4.tar.gz", hash = "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8"}, | ||||
|     {file = "packaging-20.8-py2.py3-none-any.whl", hash = "sha256:24e0da08660a87484d1602c30bb4902d74816b6985b93de36926f5bc95741858"}, | ||||
|     {file = "packaging-20.8.tar.gz", hash = "sha256:78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093"}, | ||||
| ] | ||||
| parso = [ | ||||
|     {file = "parso-0.7.1-py2.py3-none-any.whl", hash = "sha256:97218d9159b2520ff45eb78028ba8b50d2bc61dcc062a9682666f2dc4bd331ea"}, | ||||
| @@ -758,8 +732,8 @@ ptyprocess = [ | ||||
|     {file = "ptyprocess-0.6.0.tar.gz", hash = "sha256:923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"}, | ||||
| ] | ||||
| py = [ | ||||
|     {file = "py-1.9.0-py2.py3-none-any.whl", hash = "sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2"}, | ||||
|     {file = "py-1.9.0.tar.gz", hash = "sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"}, | ||||
|     {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, | ||||
|     {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, | ||||
| ] | ||||
| pycodestyle = [ | ||||
|     {file = "pycodestyle-2.6.0-py2.py3-none-any.whl", hash = "sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367"}, | ||||
| @@ -770,19 +744,16 @@ pyflakes = [ | ||||
|     {file = "pyflakes-2.2.0.tar.gz", hash = "sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8"}, | ||||
| ] | ||||
| pygments = [ | ||||
|     {file = "Pygments-2.7.2-py3-none-any.whl", hash = "sha256:88a0bbcd659fcb9573703957c6b9cff9fab7295e6e76db54c9d00ae42df32773"}, | ||||
|     {file = "Pygments-2.7.2.tar.gz", hash = "sha256:381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0"}, | ||||
|     {file = "Pygments-2.7.3-py3-none-any.whl", hash = "sha256:f275b6c0909e5dafd2d6269a656aa90fa58ebf4a74f8fcf9053195d226b24a08"}, | ||||
|     {file = "Pygments-2.7.3.tar.gz", hash = "sha256:ccf3acacf3782cbed4a989426012f1c535c9a90d3a7fc3f16d231b9372d2b716"}, | ||||
| ] | ||||
| pyparsing = [ | ||||
|     {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, | ||||
|     {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, | ||||
| ] | ||||
| pytest = [ | ||||
|     {file = "pytest-6.1.2-py3-none-any.whl", hash = "sha256:4288fed0d9153d9646bfcdf0c0428197dba1ecb27a33bb6e031d002fa88653fe"}, | ||||
|     {file = "pytest-6.1.2.tar.gz", hash = "sha256:c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e"}, | ||||
| ] | ||||
| pytest-clarity = [ | ||||
|     {file = "pytest-clarity-0.3.0a0.tar.gz", hash = "sha256:5cc99e3d9b7969dfe17e5f6072d45a917c59d363b679686d3c958a1ded2e4dcf"}, | ||||
|     {file = "pytest-6.2.0-py3-none-any.whl", hash = "sha256:d69e1a80b34fe4d596c9142f35d9e523d98a2838976f1a68419a8f051b24cec6"}, | ||||
|     {file = "pytest-6.2.0.tar.gz", hash = "sha256:b12e09409c5bdedc28d308469e156127004a436b41e9b44f9bff6446cbab9152"}, | ||||
| ] | ||||
| regex = [ | ||||
|     {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"}, | ||||
| @@ -831,13 +802,6 @@ requests = [ | ||||
|     {file = "requests-2.25.0-py2.py3-none-any.whl", hash = "sha256:e786fa28d8c9154e6a4de5d46a1d921b8749f8b74e28bde23768e5e16eece998"}, | ||||
|     {file = "requests-2.25.0.tar.gz", hash = "sha256:7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8"}, | ||||
| ] | ||||
| six = [ | ||||
|     {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, | ||||
|     {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, | ||||
| ] | ||||
| termcolor = [ | ||||
|     {file = "termcolor-1.1.0.tar.gz", hash = "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"}, | ||||
| ] | ||||
| toml = [ | ||||
|     {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, | ||||
|     {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, | ||||
|   | ||||
| @@ -18,7 +18,6 @@ flake8 = "^3.8.4" | ||||
| pytest = "^6.1.1" | ||||
| isort = "^5.5.4" | ||||
| black = "^20.8b1" | ||||
| pytest-clarity = "^0.3.0-alpha.0" | ||||
|  | ||||
| [build-system] | ||||
| requires = ["poetry>=0.12"] | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| [pytest] | ||||
| addopts= -rsxX -s -v --strict | ||||
| addopts= -rsxX -s -v --strict-markers | ||||
| filterwarnings = | ||||
|     error::UserWarning | ||||
|   | ||||
| @@ -1,51 +1,244 @@ | ||||
| appdirs==1.4.4 | ||||
| appnope==0.1.0; python_version >= "3.7" and python_version < "4.0" and sys_platform == "darwin" | ||||
| atomicwrites==1.4.0; sys_platform == "win32" | ||||
| attrs==20.3.0 | ||||
| backcall==0.2.0; python_version >= "3.7" and python_version < "4.0" | ||||
| black==20.8b1 | ||||
| certifi==2020.11.8 | ||||
| chardet==3.0.4 | ||||
| click==7.1.2 | ||||
| colorama==0.4.4; python_version >= "3.7" and python_version < "4.0" and sys_platform == "win32" or sys_platform == "win32" | ||||
| dataclasses==0.6; python_version < "3.7" | ||||
| decorator==4.4.2; python_version >= "3.7" and python_version < "4.0" | ||||
| falcon==2.0.0 | ||||
| flake8==3.8.4 | ||||
| gunicorn==20.0.4 | ||||
| idna==2.10 | ||||
| importlib-metadata==2.0.0; python_version < "3.8" | ||||
| iniconfig==1.1.1 | ||||
| ipython==7.19.0; python_version >= "3.7" and python_version < "4.0" | ||||
| ipython-genutils==0.2.0; python_version >= "3.7" and python_version < "4.0" | ||||
| isort==5.6.4 | ||||
| jedi==0.17.2; python_version >= "3.7" and python_version < "4.0" | ||||
| mccabe==0.6.1 | ||||
| mypy-extensions==0.4.3 | ||||
| packaging==20.4 | ||||
| parso==0.7.1; python_version >= "3.7" and python_version < "4.0" | ||||
| pathspec==0.8.1 | ||||
| pexpect==4.8.0; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" | ||||
| pickleshare==0.7.5; python_version >= "3.7" and python_version < "4.0" | ||||
| pluggy==0.13.1 | ||||
| prompt-toolkit==3.0.8; python_version >= "3.7" and python_version < "4.0" | ||||
| psycopg2-binary==2.8.6 | ||||
| ptyprocess==0.6.0; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" | ||||
| py==1.9.0 | ||||
| pycodestyle==2.6.0 | ||||
| pyflakes==2.2.0 | ||||
| pygments==2.7.2; python_version >= "3.7" and python_version < "4.0" | ||||
| pyparsing==2.4.7 | ||||
| pytest==6.1.2 | ||||
| pytest-clarity==0.3.0a0 | ||||
| regex==2020.11.13 | ||||
| requests==2.25.0 | ||||
| six==1.15.0 | ||||
| termcolor==1.1.0 | ||||
| toml==0.10.2 | ||||
| traitlets==5.0.5; python_version >= "3.7" and python_version < "4.0" | ||||
| typed-ast==1.4.1 | ||||
| typing-extensions==3.7.4.3 | ||||
| urllib3==1.26.2 | ||||
| wcwidth==0.2.5; python_version >= "3.7" and python_version < "4.0" | ||||
| zipp==3.4.0; python_version < "3.8" | ||||
| appdirs==1.4.4 \ | ||||
|     --hash=sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128 \ | ||||
|     --hash=sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 | ||||
| appnope==0.1.2; python_version >= "3.7" and python_version < "4.0" and sys_platform == "darwin" \ | ||||
|     --hash=sha256:93aa393e9d6c54c5cd570ccadd8edad61ea0c4b9ea7a01409020c9aa019eb442 \ | ||||
|     --hash=sha256:dd83cd4b5b460958838f6eb3000c660b1f9caf2a5b1de4264e941512f603258a | ||||
| atomicwrites==1.4.0; sys_platform == "win32" \ | ||||
|     --hash=sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197 \ | ||||
|     --hash=sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a | ||||
| attrs==20.3.0 \ | ||||
|     --hash=sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6 \ | ||||
|     --hash=sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700 | ||||
| backcall==0.2.0; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255 \ | ||||
|     --hash=sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e | ||||
| black==20.8b1 \ | ||||
|     --hash=sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea | ||||
| certifi==2020.12.5 \ | ||||
|     --hash=sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830 \ | ||||
|     --hash=sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c | ||||
| chardet==3.0.4 \ | ||||
|     --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 \ | ||||
|     --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae | ||||
| click==7.1.2 \ | ||||
|     --hash=sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc \ | ||||
|     --hash=sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a | ||||
| colorama==0.4.4; python_version >= "3.7" and python_version < "4.0" and sys_platform == "win32" or sys_platform == "win32" \ | ||||
|     --hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2 \ | ||||
|     --hash=sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b | ||||
| dataclasses==0.6; python_version < "3.7" \ | ||||
|     --hash=sha256:454a69d788c7fda44efd71e259be79577822f5e3f53f029a22d08004e951dc9f \ | ||||
|     --hash=sha256:6988bd2b895eef432d562370bb707d540f32f7360ab13da45340101bc2307d84 | ||||
| decorator==4.4.2; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:41fa54c2a0cc4ba648be4fd43cff00aedf5b9465c9bf18d64325bc225f08f760 \ | ||||
|     --hash=sha256:e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7 | ||||
| falcon==2.0.0 \ | ||||
|     --hash=sha256:733033ec80c896e30a43ab3e776856096836787197a44eb21022320a61311983 \ | ||||
|     --hash=sha256:f93351459f110b4c1ee28556aef9a791832df6f910bea7b3f616109d534df06b \ | ||||
|     --hash=sha256:e9efa0791b5d9f9dd9689015ea6bce0a27fcd5ecbcd30e6d940bffa4f7f03389 \ | ||||
|     --hash=sha256:59d1e8c993b9a37ea06df9d72cf907a46cc8063b30717cdac2f34d1658b6f936 \ | ||||
|     --hash=sha256:a5ebb22a04c9cc65081938ee7651b4e3b4d2a28522ea8ec04c7bdd2b3e9e8cd8 \ | ||||
|     --hash=sha256:95bf6ce986c1119aef12c9b348f4dee9c6dcc58391bdd0bc2b0bf353c2b15986 \ | ||||
|     --hash=sha256:aa184895d1ad4573fbfaaf803563d02f019ebdf4790e41cc568a330607eae439 \ | ||||
|     --hash=sha256:74cf1d18207381c665b9e6292d65100ce146d958707793174b03869dc6e614f4 \ | ||||
|     --hash=sha256:24adcd2b29a8ffa9d552dc79638cd21736a3fb04eda7d102c6cebafdaadb88ad \ | ||||
|     --hash=sha256:18157af2a4fc3feedf2b5dcc6196f448639acf01c68bc33d4d5a04c3ef87f494 \ | ||||
|     --hash=sha256:e3782b7b92fefd46a6ad1fd8fe63fe6c6f1b7740a95ca56957f48d1aee34b357 \ | ||||
|     --hash=sha256:9712975adcf8c6e12876239085ad757b8fdeba223d46d23daef82b47658f83a9 \ | ||||
|     --hash=sha256:54f2cb4b687035b2a03206dbfc538055cc48b59a953187b0458aa1b574d47b53 \ | ||||
|     --hash=sha256:eea593cf466b9c126ce667f6d30503624ef24459f118c75594a69353b6c3d5fc | ||||
| flake8==3.8.4 \ | ||||
|     --hash=sha256:749dbbd6bfd0cf1318af27bf97a14e28e5ff548ef8e5b1566ccfb25a11e7c839 \ | ||||
|     --hash=sha256:aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b | ||||
| gunicorn==20.0.4 \ | ||||
|     --hash=sha256:cd4a810dd51bf497552cf3f863b575dabd73d6ad6a91075b65936b151cbf4f9c \ | ||||
|     --hash=sha256:1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626 | ||||
| idna==2.10 \ | ||||
|     --hash=sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0 \ | ||||
|     --hash=sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 | ||||
| importlib-metadata==3.3.0; python_version < "3.8" \ | ||||
|     --hash=sha256:bf792d480abbd5eda85794e4afb09dd538393f7d6e6ffef6e9f03d2014cf9450 \ | ||||
|     --hash=sha256:5c5a2720817414a6c41f0a49993908068243ae02c1635a228126519b509c8aed | ||||
| iniconfig==1.1.1 \ | ||||
|     --hash=sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3 \ | ||||
|     --hash=sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32 | ||||
| ipython==7.19.0; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:c987e8178ced651532b3b1ff9965925bfd445c279239697052561a9ab806d28f \ | ||||
|     --hash=sha256:cbb2ef3d5961d44e6a963b9817d4ea4e1fa2eb589c371a470fed14d8d40cbd6a | ||||
| ipython-genutils==0.2.0; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8 \ | ||||
|     --hash=sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8 | ||||
| isort==5.6.4 \ | ||||
|     --hash=sha256:dcab1d98b469a12a1a624ead220584391648790275560e1a43e54c5dceae65e7 \ | ||||
|     --hash=sha256:dcaeec1b5f0eca77faea2a35ab790b4f3680ff75590bfcb7145986905aab2f58 | ||||
| jedi==0.17.2; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:98cc583fa0f2f8304968199b01b6b4b94f469a1f4a74c1560506ca2a211378b5 \ | ||||
|     --hash=sha256:86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20 | ||||
| mccabe==0.6.1 \ | ||||
|     --hash=sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42 \ | ||||
|     --hash=sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f | ||||
| mypy-extensions==0.4.3 \ | ||||
|     --hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \ | ||||
|     --hash=sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 | ||||
| packaging==20.8 \ | ||||
|     --hash=sha256:24e0da08660a87484d1602c30bb4902d74816b6985b93de36926f5bc95741858 \ | ||||
|     --hash=sha256:78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093 | ||||
| parso==0.7.1; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:97218d9159b2520ff45eb78028ba8b50d2bc61dcc062a9682666f2dc4bd331ea \ | ||||
|     --hash=sha256:caba44724b994a8a5e086460bb212abc5a8bc46951bf4a9a1210745953622eb9 | ||||
| pathspec==0.8.1 \ | ||||
|     --hash=sha256:aa0cb481c4041bf52ffa7b0d8fa6cd3e88a2ca4879c533c9153882ee2556790d \ | ||||
|     --hash=sha256:86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd | ||||
| pexpect==4.8.0; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" \ | ||||
|     --hash=sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937 \ | ||||
|     --hash=sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c | ||||
| pickleshare==0.7.5; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56 \ | ||||
|     --hash=sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca | ||||
| pluggy==0.13.1 \ | ||||
|     --hash=sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d \ | ||||
|     --hash=sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 | ||||
| prompt-toolkit==3.0.8; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:7debb9a521e0b1ee7d2fe96ee4bd60ef03c6492784de0547337ca4433e46aa63 \ | ||||
|     --hash=sha256:25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c | ||||
| psycopg2-binary==2.8.6 \ | ||||
|     --hash=sha256:11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0 \ | ||||
|     --hash=sha256:d14b140a4439d816e3b1229a4a525df917d6ea22a0771a2a78332273fd9528a4 \ | ||||
|     --hash=sha256:1fabed9ea2acc4efe4671b92c669a213db744d2af8a9fc5d69a8e9bc14b7a9db \ | ||||
|     --hash=sha256:f5ab93a2cb2d8338b1674be43b442a7f544a0971da062a5da774ed40587f18f5 \ | ||||
|     --hash=sha256:b4afc542c0ac0db720cf516dd20c0846f71c248d2b3d21013aa0d4ef9c71ca25 \ | ||||
|     --hash=sha256:e74a55f6bad0e7d3968399deb50f61f4db1926acf4a6d83beaaa7df986f48b1c \ | ||||
|     --hash=sha256:0deac2af1a587ae12836aa07970f5cb91964f05a7c6cdb69d8425ff4c15d4e2c \ | ||||
|     --hash=sha256:ad20d2eb875aaa1ea6d0f2916949f5c08a19c74d05b16ce6ebf6d24f2c9f75d1 \ | ||||
|     --hash=sha256:950bc22bb56ee6ff142a2cb9ee980b571dd0912b0334aa3fe0fe3788d860bea2 \ | ||||
|     --hash=sha256:b8a3715b3c4e604bcc94c90a825cd7f5635417453b253499664f784fc4da0152 \ | ||||
|     --hash=sha256:d1b4ab59e02d9008efe10ceabd0b31e79519da6fb67f7d8e8977118832d0f449 \ | ||||
|     --hash=sha256:ac0c682111fbf404525dfc0f18a8b5f11be52657d4f96e9fcb75daf4f3984859 \ | ||||
|     --hash=sha256:7d92a09b788cbb1aec325af5fcba9fed7203897bbd9269d5691bb1e3bce29550 \ | ||||
|     --hash=sha256:aaa4213c862f0ef00022751161df35804127b78adf4a2755b9f991a507e425fd \ | ||||
|     --hash=sha256:c2507d796fca339c8fb03216364cca68d87e037c1f774977c8fc377627d01c71 \ | ||||
|     --hash=sha256:ee69dad2c7155756ad114c02db06002f4cded41132cc51378e57aad79cc8e4f4 \ | ||||
|     --hash=sha256:e82aba2188b9ba309fd8e271702bd0d0fc9148ae3150532bbb474f4590039ffb \ | ||||
|     --hash=sha256:d5227b229005a696cc67676e24c214740efd90b148de5733419ac9aaba3773da \ | ||||
|     --hash=sha256:a0eb43a07386c3f1f1ebb4dc7aafb13f67188eab896e7397aa1ee95a9c884eb2 \ | ||||
|     --hash=sha256:e1f57aa70d3f7cc6947fd88636a481638263ba04a742b4a37dd25c373e41491a \ | ||||
|     --hash=sha256:833709a5c66ca52f1d21d41865a637223b368c0ee76ea54ca5bad6f2526c7679 \ | ||||
|     --hash=sha256:ba28584e6bca48c59eecbf7efb1576ca214b47f05194646b081717fa628dfddf \ | ||||
|     --hash=sha256:6a32f3a4cb2f6e1a0b15215f448e8ce2da192fd4ff35084d80d5e39da683e79b \ | ||||
|     --hash=sha256:0e4dc3d5996760104746e6cfcdb519d9d2cd27c738296525d5867ea695774e67 \ | ||||
|     --hash=sha256:cec7e622ebc545dbb4564e483dd20e4e404da17ae07e06f3e780b2dacd5cee66 \ | ||||
|     --hash=sha256:ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f \ | ||||
|     --hash=sha256:a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77 \ | ||||
|     --hash=sha256:2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94 \ | ||||
|     --hash=sha256:bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729 \ | ||||
|     --hash=sha256:8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77 \ | ||||
|     --hash=sha256:42ec1035841b389e8cc3692277a0bd81cdfe0b65d575a2c8862cec7a80e62e52 \ | ||||
|     --hash=sha256:7312e931b90fe14f925729cde58022f5d034241918a5c4f9797cac62f6b3a9dd | ||||
| ptyprocess==0.6.0; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" \ | ||||
|     --hash=sha256:d7cc528d76e76342423ca640335bd3633420dc1366f258cb31d05e865ef5ca1f \ | ||||
|     --hash=sha256:923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0 | ||||
| py==1.10.0 \ | ||||
|     --hash=sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a \ | ||||
|     --hash=sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3 | ||||
| pycodestyle==2.6.0 \ | ||||
|     --hash=sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367 \ | ||||
|     --hash=sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e | ||||
| pyflakes==2.2.0 \ | ||||
|     --hash=sha256:0d94e0e05a19e57a99444b6ddcf9a6eb2e5c68d3ca1e98e90707af8152c90a92 \ | ||||
|     --hash=sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8 | ||||
| pygments==2.7.3; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:f275b6c0909e5dafd2d6269a656aa90fa58ebf4a74f8fcf9053195d226b24a08 \ | ||||
|     --hash=sha256:ccf3acacf3782cbed4a989426012f1c535c9a90d3a7fc3f16d231b9372d2b716 | ||||
| pyparsing==2.4.7 \ | ||||
|     --hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b \ | ||||
|     --hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 | ||||
| pytest==6.2.0 \ | ||||
|     --hash=sha256:d69e1a80b34fe4d596c9142f35d9e523d98a2838976f1a68419a8f051b24cec6 \ | ||||
|     --hash=sha256:b12e09409c5bdedc28d308469e156127004a436b41e9b44f9bff6446cbab9152 | ||||
| regex==2020.11.13 \ | ||||
|     --hash=sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85 \ | ||||
|     --hash=sha256:a63f1a07932c9686d2d416fb295ec2c01ab246e89b4d58e5fa468089cab44b70 \ | ||||
|     --hash=sha256:6e4b08c6f8daca7d8f07c8d24e4331ae7953333dbd09c648ed6ebd24db5a10ee \ | ||||
|     --hash=sha256:bba349276b126947b014e50ab3316c027cac1495992f10e5682dc677b3dfa0c5 \ | ||||
|     --hash=sha256:56e01daca75eae420bce184edd8bb341c8eebb19dd3bce7266332258f9fb9dd7 \ | ||||
|     --hash=sha256:6a8ce43923c518c24a2579fda49f093f1397dad5d18346211e46f134fc624e31 \ | ||||
|     --hash=sha256:1ab79fcb02b930de09c76d024d279686ec5d532eb814fd0ed1e0051eb8bd2daa \ | ||||
|     --hash=sha256:9801c4c1d9ae6a70aeb2128e5b4b68c45d4f0af0d1535500884d644fa9b768c6 \ | ||||
|     --hash=sha256:49cae022fa13f09be91b2c880e58e14b6da5d10639ed45ca69b85faf039f7a4e \ | ||||
|     --hash=sha256:749078d1eb89484db5f34b4012092ad14b327944ee7f1c4f74d6279a6e4d1884 \ | ||||
|     --hash=sha256:b2f4007bff007c96a173e24dcda236e5e83bde4358a557f9ccf5e014439eae4b \ | ||||
|     --hash=sha256:38c8fd190db64f513fe4e1baa59fed086ae71fa45083b6936b52d34df8f86a88 \ | ||||
|     --hash=sha256:5862975b45d451b6db51c2e654990c1820523a5b07100fc6903e9c86575202a0 \ | ||||
|     --hash=sha256:262c6825b309e6485ec2493ffc7e62a13cf13fb2a8b6d212f72bd53ad34118f1 \ | ||||
|     --hash=sha256:bafb01b4688833e099d79e7efd23f99172f501a15c44f21ea2118681473fdba0 \ | ||||
|     --hash=sha256:e32f5f3d1b1c663af7f9c4c1e72e6ffe9a78c03a31e149259f531e0fed826512 \ | ||||
|     --hash=sha256:3bddc701bdd1efa0d5264d2649588cbfda549b2899dc8d50417e47a82e1387ba \ | ||||
|     --hash=sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538 \ | ||||
|     --hash=sha256:0d08e71e70c0237883d0bef12cad5145b84c3705e9c6a588b2a9c7080e5af2a4 \ | ||||
|     --hash=sha256:1fa7ee9c2a0e30405e21031d07d7ba8617bc590d391adfc2b7f1e8b99f46f444 \ | ||||
|     --hash=sha256:baf378ba6151f6e272824b86a774326f692bc2ef4cc5ce8d5bc76e38c813a55f \ | ||||
|     --hash=sha256:e3faaf10a0d1e8e23a9b51d1900b72e1635c2d5b0e1bea1c18022486a8e2e52d \ | ||||
|     --hash=sha256:2a11a3e90bd9901d70a5b31d7dd85114755a581a5da3fc996abfefa48aee78af \ | ||||
|     --hash=sha256:d1ebb090a426db66dd80df8ca85adc4abfcbad8a7c2e9a5ec7513ede522e0a8f \ | ||||
|     --hash=sha256:b2b1a5ddae3677d89b686e5c625fc5547c6e492bd755b520de5332773a8af06b \ | ||||
|     --hash=sha256:2c99e97d388cd0a8d30f7c514d67887d8021541b875baf09791a3baad48bb4f8 \ | ||||
|     --hash=sha256:c084582d4215593f2f1d28b65d2a2f3aceff8342aa85afd7be23a9cad74a0de5 \ | ||||
|     --hash=sha256:a3d748383762e56337c39ab35c6ed4deb88df5326f97a38946ddd19028ecce6b \ | ||||
|     --hash=sha256:7913bd25f4ab274ba37bc97ad0e21c31004224ccb02765ad984eef43e04acc6c \ | ||||
|     --hash=sha256:6c54ce4b5d61a7129bad5c5dc279e222afd00e721bf92f9ef09e4fae28755683 \ | ||||
|     --hash=sha256:1862a9d9194fae76a7aaf0150d5f2a8ec1da89e8b55890b1786b8f88a0f619dc \ | ||||
|     --hash=sha256:4902e6aa086cbb224241adbc2f06235927d5cdacffb2425c73e6570e8d862364 \ | ||||
|     --hash=sha256:7a25fcbeae08f96a754b45bdc050e1fb94b95cab046bf56b016c25e9ab127b3e \ | ||||
|     --hash=sha256:d2d8ce12b7c12c87e41123997ebaf1a5767a5be3ec545f64675388970f415e2e \ | ||||
|     --hash=sha256:f7d29a6fc4760300f86ae329e3b6ca28ea9c20823df123a2ea8693e967b29917 \ | ||||
|     --hash=sha256:717881211f46de3ab130b58ec0908267961fadc06e44f974466d1887f865bd5b \ | ||||
|     --hash=sha256:3128e30d83f2e70b0bed9b2a34e92707d0877e460b402faca908c6667092ada9 \ | ||||
|     --hash=sha256:8f6a2229e8ad946e36815f2a03386bb8353d4bde368fdf8ca5f0cb97264d3b5c \ | ||||
|     --hash=sha256:f8f295db00ef5f8bae530fc39af0b40486ca6068733fb860b42115052206466f \ | ||||
|     --hash=sha256:a15f64ae3a027b64496a71ab1f722355e570c3fac5ba2801cafce846bf5af01d \ | ||||
|     --hash=sha256:83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562 | ||||
| requests==2.25.0 \ | ||||
|     --hash=sha256:e786fa28d8c9154e6a4de5d46a1d921b8749f8b74e28bde23768e5e16eece998 \ | ||||
|     --hash=sha256:7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8 | ||||
| toml==0.10.2 \ | ||||
|     --hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \ | ||||
|     --hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f | ||||
| traitlets==5.0.5; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:69ff3f9d5351f31a7ad80443c2674b7099df13cc41fc5fa6e2f6d3b0330b0426 \ | ||||
|     --hash=sha256:178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396 | ||||
| typed-ast==1.4.1 \ | ||||
|     --hash=sha256:73d785a950fc82dd2a25897d525d003f6378d1cb23ab305578394694202a58c3 \ | ||||
|     --hash=sha256:aaee9905aee35ba5905cfb3c62f3e83b3bec7b39413f0a7f19be4e547ea01ebb \ | ||||
|     --hash=sha256:0c2c07682d61a629b68433afb159376e24e5b2fd4641d35424e462169c0a7919 \ | ||||
|     --hash=sha256:4083861b0aa07990b619bd7ddc365eb7fa4b817e99cf5f8d9cf21a42780f6e01 \ | ||||
|     --hash=sha256:269151951236b0f9a6f04015a9004084a5ab0d5f19b57de779f908621e7d8b75 \ | ||||
|     --hash=sha256:24995c843eb0ad11a4527b026b4dde3da70e1f2d8806c99b7b4a7cf491612652 \ | ||||
|     --hash=sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7 \ | ||||
|     --hash=sha256:4e3e5da80ccbebfff202a67bf900d081906c358ccc3d5e3c8aea42fdfdfd51c1 \ | ||||
|     --hash=sha256:249862707802d40f7f29f6e1aad8d84b5aa9e44552d2cc17384b209f091276aa \ | ||||
|     --hash=sha256:8ce678dbaf790dbdb3eba24056d5364fb45944f33553dd5869b7580cdbb83614 \ | ||||
|     --hash=sha256:c9e348e02e4d2b4a8b2eedb48210430658df6951fa484e59de33ff773fbd4b41 \ | ||||
|     --hash=sha256:bcd3b13b56ea479b3650b82cabd6b5343a625b0ced5429e4ccad28a8973f301b \ | ||||
|     --hash=sha256:d5d33e9e7af3b34a40dc05f498939f0ebf187f07c385fd58d591c533ad8562fe \ | ||||
|     --hash=sha256:0666aa36131496aed8f7be0410ff974562ab7eeac11ef351def9ea6fa28f6355 \ | ||||
|     --hash=sha256:d205b1b46085271b4e15f670058ce182bd1199e56b317bf2ec004b6a44f911f6 \ | ||||
|     --hash=sha256:6daac9731f172c2a22ade6ed0c00197ee7cc1221aa84cfdf9c31defeb059a907 \ | ||||
|     --hash=sha256:498b0f36cc7054c1fead3d7fc59d2150f4d5c6c56ba7fb150c013fbc683a8d2d \ | ||||
|     --hash=sha256:715ff2f2df46121071622063fc7543d9b1fd19ebfc4f5c8895af64a77a8c852c \ | ||||
|     --hash=sha256:fc0fea399acb12edbf8a628ba8d2312f583bdbdb3335635db062fa98cf71fca4 \ | ||||
|     --hash=sha256:d43943ef777f9a1c42bf4e552ba23ac77a6351de620aa9acf64ad54933ad4d34 \ | ||||
|     --hash=sha256:8c8aaad94455178e3187ab22c8b01a3837f8ee50e09cf31f1ba129eb293ec30b | ||||
| typing-extensions==3.7.4.3 \ | ||||
|     --hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f \ | ||||
|     --hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \ | ||||
|     --hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c | ||||
| urllib3==1.26.2 \ | ||||
|     --hash=sha256:d8ff90d979214d7b4f8ce956e80f4028fc6860e4431f731ea4a8c08f23f99473 \ | ||||
|     --hash=sha256:19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08 | ||||
| wcwidth==0.2.5; python_version >= "3.7" and python_version < "4.0" \ | ||||
|     --hash=sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784 \ | ||||
|     --hash=sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83 | ||||
| zipp==3.4.0; python_version < "3.8" \ | ||||
|     --hash=sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108 \ | ||||
|     --hash=sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb | ||||
|   | ||||
| @@ -1,8 +1,66 @@ | ||||
| certifi==2020.11.8 | ||||
| chardet==3.0.4 | ||||
| falcon==2.0.0 | ||||
| gunicorn==20.0.4 | ||||
| idna==2.10 | ||||
| psycopg2-binary==2.8.6 | ||||
| requests==2.25.0 | ||||
| urllib3==1.26.2 | ||||
| certifi==2020.12.5 \ | ||||
|     --hash=sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830 \ | ||||
|     --hash=sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c | ||||
| chardet==3.0.4 \ | ||||
|     --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 \ | ||||
|     --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae | ||||
| falcon==2.0.0 \ | ||||
|     --hash=sha256:733033ec80c896e30a43ab3e776856096836787197a44eb21022320a61311983 \ | ||||
|     --hash=sha256:f93351459f110b4c1ee28556aef9a791832df6f910bea7b3f616109d534df06b \ | ||||
|     --hash=sha256:e9efa0791b5d9f9dd9689015ea6bce0a27fcd5ecbcd30e6d940bffa4f7f03389 \ | ||||
|     --hash=sha256:59d1e8c993b9a37ea06df9d72cf907a46cc8063b30717cdac2f34d1658b6f936 \ | ||||
|     --hash=sha256:a5ebb22a04c9cc65081938ee7651b4e3b4d2a28522ea8ec04c7bdd2b3e9e8cd8 \ | ||||
|     --hash=sha256:95bf6ce986c1119aef12c9b348f4dee9c6dcc58391bdd0bc2b0bf353c2b15986 \ | ||||
|     --hash=sha256:aa184895d1ad4573fbfaaf803563d02f019ebdf4790e41cc568a330607eae439 \ | ||||
|     --hash=sha256:74cf1d18207381c665b9e6292d65100ce146d958707793174b03869dc6e614f4 \ | ||||
|     --hash=sha256:24adcd2b29a8ffa9d552dc79638cd21736a3fb04eda7d102c6cebafdaadb88ad \ | ||||
|     --hash=sha256:18157af2a4fc3feedf2b5dcc6196f448639acf01c68bc33d4d5a04c3ef87f494 \ | ||||
|     --hash=sha256:e3782b7b92fefd46a6ad1fd8fe63fe6c6f1b7740a95ca56957f48d1aee34b357 \ | ||||
|     --hash=sha256:9712975adcf8c6e12876239085ad757b8fdeba223d46d23daef82b47658f83a9 \ | ||||
|     --hash=sha256:54f2cb4b687035b2a03206dbfc538055cc48b59a953187b0458aa1b574d47b53 \ | ||||
|     --hash=sha256:eea593cf466b9c126ce667f6d30503624ef24459f118c75594a69353b6c3d5fc | ||||
| gunicorn==20.0.4 \ | ||||
|     --hash=sha256:cd4a810dd51bf497552cf3f863b575dabd73d6ad6a91075b65936b151cbf4f9c \ | ||||
|     --hash=sha256:1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626 | ||||
| idna==2.10 \ | ||||
|     --hash=sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0 \ | ||||
|     --hash=sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 | ||||
| psycopg2-binary==2.8.6 \ | ||||
|     --hash=sha256:11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0 \ | ||||
|     --hash=sha256:d14b140a4439d816e3b1229a4a525df917d6ea22a0771a2a78332273fd9528a4 \ | ||||
|     --hash=sha256:1fabed9ea2acc4efe4671b92c669a213db744d2af8a9fc5d69a8e9bc14b7a9db \ | ||||
|     --hash=sha256:f5ab93a2cb2d8338b1674be43b442a7f544a0971da062a5da774ed40587f18f5 \ | ||||
|     --hash=sha256:b4afc542c0ac0db720cf516dd20c0846f71c248d2b3d21013aa0d4ef9c71ca25 \ | ||||
|     --hash=sha256:e74a55f6bad0e7d3968399deb50f61f4db1926acf4a6d83beaaa7df986f48b1c \ | ||||
|     --hash=sha256:0deac2af1a587ae12836aa07970f5cb91964f05a7c6cdb69d8425ff4c15d4e2c \ | ||||
|     --hash=sha256:ad20d2eb875aaa1ea6d0f2916949f5c08a19c74d05b16ce6ebf6d24f2c9f75d1 \ | ||||
|     --hash=sha256:950bc22bb56ee6ff142a2cb9ee980b571dd0912b0334aa3fe0fe3788d860bea2 \ | ||||
|     --hash=sha256:b8a3715b3c4e604bcc94c90a825cd7f5635417453b253499664f784fc4da0152 \ | ||||
|     --hash=sha256:d1b4ab59e02d9008efe10ceabd0b31e79519da6fb67f7d8e8977118832d0f449 \ | ||||
|     --hash=sha256:ac0c682111fbf404525dfc0f18a8b5f11be52657d4f96e9fcb75daf4f3984859 \ | ||||
|     --hash=sha256:7d92a09b788cbb1aec325af5fcba9fed7203897bbd9269d5691bb1e3bce29550 \ | ||||
|     --hash=sha256:aaa4213c862f0ef00022751161df35804127b78adf4a2755b9f991a507e425fd \ | ||||
|     --hash=sha256:c2507d796fca339c8fb03216364cca68d87e037c1f774977c8fc377627d01c71 \ | ||||
|     --hash=sha256:ee69dad2c7155756ad114c02db06002f4cded41132cc51378e57aad79cc8e4f4 \ | ||||
|     --hash=sha256:e82aba2188b9ba309fd8e271702bd0d0fc9148ae3150532bbb474f4590039ffb \ | ||||
|     --hash=sha256:d5227b229005a696cc67676e24c214740efd90b148de5733419ac9aaba3773da \ | ||||
|     --hash=sha256:a0eb43a07386c3f1f1ebb4dc7aafb13f67188eab896e7397aa1ee95a9c884eb2 \ | ||||
|     --hash=sha256:e1f57aa70d3f7cc6947fd88636a481638263ba04a742b4a37dd25c373e41491a \ | ||||
|     --hash=sha256:833709a5c66ca52f1d21d41865a637223b368c0ee76ea54ca5bad6f2526c7679 \ | ||||
|     --hash=sha256:ba28584e6bca48c59eecbf7efb1576ca214b47f05194646b081717fa628dfddf \ | ||||
|     --hash=sha256:6a32f3a4cb2f6e1a0b15215f448e8ce2da192fd4ff35084d80d5e39da683e79b \ | ||||
|     --hash=sha256:0e4dc3d5996760104746e6cfcdb519d9d2cd27c738296525d5867ea695774e67 \ | ||||
|     --hash=sha256:cec7e622ebc545dbb4564e483dd20e4e404da17ae07e06f3e780b2dacd5cee66 \ | ||||
|     --hash=sha256:ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f \ | ||||
|     --hash=sha256:a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77 \ | ||||
|     --hash=sha256:2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94 \ | ||||
|     --hash=sha256:bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729 \ | ||||
|     --hash=sha256:8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77 \ | ||||
|     --hash=sha256:42ec1035841b389e8cc3692277a0bd81cdfe0b65d575a2c8862cec7a80e62e52 \ | ||||
|     --hash=sha256:7312e931b90fe14f925729cde58022f5d034241918a5c4f9797cac62f6b3a9dd | ||||
| requests==2.25.0 \ | ||||
|     --hash=sha256:e786fa28d8c9154e6a4de5d46a1d921b8749f8b74e28bde23768e5e16eece998 \ | ||||
|     --hash=sha256:7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8 | ||||
| urllib3==1.26.2 \ | ||||
|     --hash=sha256:d8ff90d979214d7b4f8ce956e80f4028fc6860e4431f731ea4a8c08f23f99473 \ | ||||
|     --hash=sha256:19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08 | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -23,7 +23,7 @@ def test_get_docs(client): | ||||
| def test_get_item(client): | ||||
|     """Test requesting a single item.""" | ||||
|  | ||||
|     response = client.simulate_get("/item/c3910974-c3a5-4053-9dce-104aa7bb1621") | ||||
|     response = client.simulate_get("/item/fd8a46d5-1480-4e69-b187-cd3db96d8e4d") | ||||
|     response_doc = json.loads(response.text) | ||||
|  | ||||
|     assert isinstance(response_doc["downloads"], int) | ||||
| @@ -75,8 +75,8 @@ def test_post_items_valid_dateFrom(client): | ||||
|     request_body = { | ||||
|         "dateFrom": "2020-01-01T00:00:00Z", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -99,18 +99,18 @@ def test_post_items_valid_dateFrom_mocked(client): | ||||
|     request_body = { | ||||
|         "dateFrom": "2020-01-01T00:00:00Z", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
|     get_views_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 21, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 0, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 21, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 0, | ||||
|     } | ||||
|     get_downloads_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 575, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 899, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 575, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 899, | ||||
|     } | ||||
|  | ||||
|     with patch( | ||||
| @@ -139,8 +139,8 @@ def test_post_items_invalid_dateFrom(client): | ||||
|     request_body = { | ||||
|         "dateFrom": "2020-01-01T00:00:00", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -156,8 +156,8 @@ def test_post_items_valid_dateTo(client): | ||||
|     request_body = { | ||||
|         "dateTo": "2020-01-01T00:00:00Z", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -180,18 +180,18 @@ def test_post_items_valid_dateTo_mocked(client): | ||||
|     request_body = { | ||||
|         "dateTo": "2020-01-01T00:00:00Z", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
|     get_views_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 21, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 0, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 21, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 0, | ||||
|     } | ||||
|     get_downloads_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 575, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 899, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 575, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 899, | ||||
|     } | ||||
|  | ||||
|     with patch( | ||||
| @@ -220,8 +220,8 @@ def test_post_items_invalid_dateTo(client): | ||||
|     request_body = { | ||||
|         "dateFrom": "2020-01-01T00:00:00", | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -237,8 +237,8 @@ def test_post_items_valid_limit(client): | ||||
|     request_body = { | ||||
|         "limit": 1, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -259,13 +259,13 @@ def test_post_items_valid_limit_mocked(client): | ||||
|     request_body = { | ||||
|         "limit": 1, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
|     get_views_return_value = {"c3910974-c3a5-4053-9dce-104aa7bb1620": 21} | ||||
|     get_downloads_return_value = {"c3910974-c3a5-4053-9dce-104aa7bb1620": 575} | ||||
|     get_views_return_value = {"fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 21} | ||||
|     get_downloads_return_value = {"fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 575} | ||||
|  | ||||
|     with patch( | ||||
|         "dspace_statistics_api.app.get_views", return_value=get_views_return_value | ||||
| @@ -291,8 +291,8 @@ def test_post_items_invalid_limit(client): | ||||
|     request_body = { | ||||
|         "limit": -1, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -308,8 +308,8 @@ def test_post_items_valid_page(client): | ||||
|     request_body = { | ||||
|         "page": 0, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
| @@ -332,18 +332,18 @@ def test_post_items_valid_page_mocked(client): | ||||
|     request_body = { | ||||
|         "page": 0, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
|     get_views_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 21, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 0, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 21, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 0, | ||||
|     } | ||||
|     get_downloads_return_value = { | ||||
|         "c3910974-c3a5-4053-9dce-104aa7bb1620": 575, | ||||
|         "887cc5f8-b5e7-4a2f-9053-49c91ab81313": 899, | ||||
|         "fd8a46d5-1480-4e69-b187-cd3db96d8e4d": 575, | ||||
|         "e53a2eab-1e31-448d-907b-3656ca4e86c1": 899, | ||||
|     } | ||||
|  | ||||
|     with patch( | ||||
| @@ -372,8 +372,8 @@ def test_post_items_invalid_page(client): | ||||
|     request_body = { | ||||
|         "page": -1, | ||||
|         "items": [ | ||||
|             "c3910974-c3a5-4053-9dce-104aa7bb1620", | ||||
|             "887cc5f8-b5e7-4a2f-9053-49c91ab81313", | ||||
|             "fd8a46d5-1480-4e69-b187-cd3db96d8e4d", | ||||
|             "e53a2eab-1e31-448d-907b-3656ca4e86c1", | ||||
|         ], | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user