File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -364,11 +364,10 @@ def upload_prompt_post(
364364 An object representing the status and results of the prompt job.
365365 """
366366
367- endpoint = "v1/align/upload_prompt"
368-
367+ endpoint = "v1/poet/ align/upload_prompt"
368+ files = { "prompt_file" : prompt_file }
369369 try :
370- body = {"prompt_file" : prompt_file }
371- response = session .post (endpoint , body = body )
370+ response = session .post (endpoint , files = files )
372371 return PromptJob (** response .json ())
373372 except Exception as exc :
374373 raise APIError (f"Failed to upload prompt post: { exc } " ) from exc
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " openprotein_python"
33packages = [{include = " openprotein" }]
4- version = " 0.1.2 "
4+ version = " 0.2.1 "
55description = " OpenProtein Python interface."
66license = " MIT"
77readme = " README.md"
You can’t perform that action at this time.
0 commit comments