Skip to content

Commit

Permalink
updating package structure by moving 'schemas' to 'ingest'
Browse files Browse the repository at this point in the history
  • Loading branch information
shamlymajeed committed Mar 15, 2024
1 parent 6e0b39b commit 1763322
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ingest/api/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
self.uuid_prefix = uuid_prefix

if not schema_path:
self.schema_path = pkg_resources.resource_filename("src", "schemas")
self.schema_path = pkg_resources.resource_filename("ingest", "schemas")
else:
self.schema_path = schema_path
if not schema_file:
Expand Down
2 changes: 1 addition & 1 deletion ingest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = ["Programming Language :: Python :: 3"]
where = ["src"]

[tool.setuptools.package-data]
"ingest.schemas" = ["schemas/*.json"]
"ingest.schemas" = ["ingest/schemas/*.json"]

[tool.pytest.ini_options]
pythonpath = "."
Expand Down
Empty file removed ingest/src/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.

1 comment on commit 1763322

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%24–69
datastore_pb2_grpc.py432347%37–52, 85–87, 92–94, 99–101, 106–108, 112–136, 174, 191, 208, 225
dependencies.py481667%26–27, 34, 41, 62–69, 77–84
grpc_getter.py13838%12–15, 19–22
locustfile.py15150%1–31
main.py22386%27, 37, 47
metadata_endpoints.py19479%17, 34–67, 71
formatters
   \_\_init\_\_.py70100% 
   covjson.py46687%58, 65–69, 73–76
routers
   \_\_init\_\_.py00100% 
   edr.py671184%38–63, 143–144, 188–189, 205
   records.py00100% 
TOTAL33813261% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
16 0 💤 8 ❌ 0 🔥 3.903s ⏱️

Please sign in to comment.