We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b23ecaf commit 33fd626Copy full SHA for 33fd626
openai/api_resources/customer.py
@@ -3,7 +3,7 @@
3
4
class Customer(OpenAIObject):
5
@classmethod
6
- def get_url(self, customer, endpoint):
+ def get_url(cls, customer, endpoint):
7
return f"/customer/{customer}/{endpoint}"
8
9
openai/api_resources/moderation.py
@@ -7,7 +7,7 @@ class Moderation(OpenAIObject):
VALID_MODEL_NAMES: List[str] = ["text-moderation-stable", "text-moderation-latest"]
10
- def get_url(self):
+ def get_url(cls):
11
return "/moderations"
12
13
0 commit comments