Skip to content

Commit

Permalink
Merge pull request #133 from roboflow/fix/nocache-modle-upload-api
Browse files Browse the repository at this point in the history
`nocache=true` for Model Upload API
  • Loading branch information
paulguerrie authored Mar 31, 2023
2 parents 8c6415b + 301de30 commit 3ea6260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roboflow/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def deploy(self, model_type: str, model_path: str) -> None:
)

res = requests.get(
f"{API_URL}/{self.workspace}/{self.project}/{self.version}/uploadModel?api_key={self.__api_key}&modelType={model_type}"
f"{API_URL}/{self.workspace}/{self.project}/{self.version}/uploadModel?api_key={self.__api_key}&modelType={model_type}&nocache=true"
)
try:
if res.status_code == 429:
Expand Down

0 comments on commit 3ea6260

Please sign in to comment.