Skip to content

Commit

Permalink
Updated postman collection (#454)
Browse files Browse the repository at this point in the history
Co-authored-by: Neha <[email protected]>
  • Loading branch information
Deepak-Kesavan and nehabagdia authored Jul 5, 2024
1 parent efc74b3 commit ce49f15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion backend/api/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
class ApiExecution:
PATH: str = "deployment/api"
MAXIMUM_TIMEOUT_IN_SEC: int = 300 # 5 minutes
DEFAULT_TIMEOUT_IN_SEC: int = 80
FILES_FORM_DATA: str = "files"
TIMEOUT_FORM_DATA: str = "timeout"
INCLUDE_METADATA: str = "include_metadata"
7 changes: 6 additions & 1 deletion backend/api/postman_collection/dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ def create(
FormDataItem(
key=ApiExecution.TIMEOUT_FORM_DATA,
type="text",
value=ApiExecution.DEFAULT_TIMEOUT_IN_SEC,
value=ApiExecution.MAXIMUM_TIMEOUT_IN_SEC,
),
FormDataItem(
key=ApiExecution.INCLUDE_METADATA,
type="text",
value=False,
),
]
)
Expand Down

0 comments on commit ce49f15

Please sign in to comment.