Skip to content

Commit 3ea6260

Browse files
authored
Merge pull request #133 from roboflow/fix/nocache-modle-upload-api
`nocache=true` for Model Upload API
2 parents 8c6415b + 301de30 commit 3ea6260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboflow/core/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def deploy(self, model_type: str, model_path: str) -> None:
570570
)
571571

572572
res = requests.get(
573-
f"{API_URL}/{self.workspace}/{self.project}/{self.version}/uploadModel?api_key={self.__api_key}&modelType={model_type}"
573+
f"{API_URL}/{self.workspace}/{self.project}/{self.version}/uploadModel?api_key={self.__api_key}&modelType={model_type}&nocache=true"
574574
)
575575
try:
576576
if res.status_code == 429:

0 commit comments

Comments
 (0)