generated from keploy/template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement keploy core sdk methods (#1)
* Added keploy base file * Added base functions(fetch, test, start, end, put, get) to keploy.py * Added exception handling and fixed bugs in keploy.py Co-authored-by: Mahesh Gupta <maheshg@mindfiresolutions.com>
- Loading branch information
1 parent
aa06b58
commit 26b0be8
Showing
8 changed files
with
760 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .keploy import Keploy | ||
from .models import * | ||
from .mode import setMode |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
MODE_RECORD = "record" | ||
MODE_TEST = "test" | ||
MODE_OFF = "off" | ||
USE_HTTPS = 'https' | ||
USE_HTTP = 'http' | ||
ALLOWED_DEPENDENCY_TYPES = ['NO_SQL_DB', 'SQL_DB', 'GRPC', 'HTTP_CLIENT'] | ||
ALLOWED_METHODS = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE'] |
Oops, something went wrong.