forked from BloomTech-Labs/kondoboard-ds
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes connection to AWS cluster, reformats queries with python elas…
…ticsearch
- Loading branch information
Kelli Scheuble
committed
Jun 9, 2020
1 parent
ff19e36
commit 47cbfe8
Showing
6 changed files
with
138 additions
and
63 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,13 +1,26 @@ | ||
from pydantic import BaseModel | ||
from typing import List, Dict | ||
|
||
class All(BaseModel): | ||
lim: int = 20 | ||
|
||
class Search(BaseModel): | ||
search: str | ||
city: str = None | ||
state: str = None | ||
lim: int = 20 | ||
|
||
|
||
class Track(BaseModel): | ||
track: str | ||
city: str = None | ||
state: str = None | ||
lim = 20 | ||
|
||
class User(BaseModel): | ||
user_id: int | ||
track: str | ||
skills: str | ||
city: str | ||
state: str | ||
lim: int = 20 |
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