-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from uktrade/feature/add-model-api-2
Add API endpoints for models and results
- Loading branch information
Showing
30 changed files
with
2,078 additions
and
671 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"configurations": [ | ||
{ | ||
"name": "Matchbox: Debug", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
from dotenv import find_dotenv, load_dotenv | ||
|
||
from matchbox.client.helpers.cleaner import process | ||
from matchbox.client.helpers.index import index | ||
from matchbox.client.helpers.selector import match, query | ||
from matchbox.client.models.models import make_model | ||
|
||
__all__ = ("make_model", "process", "query", "match", "index") | ||
|
||
dotenv_path = find_dotenv(usecwd=True) | ||
load_dotenv(dotenv_path) | ||
|
||
# Environment variables must be loaded first for other imports to work | ||
|
||
from matchbox.client.helpers.cleaner import process # NoQA: E402 | ||
from matchbox.client.helpers.index import index # NoQA: E402 | ||
from matchbox.client.helpers.selector import match, query # NoQA: E402 | ||
from matchbox.client.models.models import make_model # NoQA: E402 | ||
|
||
__all__ = ("make_model", "process", "query", "match", "index") |
Oops, something went wrong.