File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ class PasteResponse(BaseModel):
2121 A successful response from the paste service.
2222
2323 Args:
24- link: The URL to the saved paste.
25- removal: The URL to delete the saved paste.
24+ link (:obj:`str`) : The URL to the saved paste.
25+ removal (:obj:`str`) : The URL to delete the saved paste.
2626 """
2727
2828 link : str
@@ -34,9 +34,9 @@ class PasteFile(BaseModel):
3434 A file to be pasted to the paste service.
3535
3636 Args:
37- content: The content of the file.
38- name: The file name of the file to upload.
39- lexer: The lexer to use when applying text formatting.
37+ content (:obj:`str`) : The content of the file.
38+ name (:obj:`str`): The file name of the file to upload. Defaults to ``""``
39+ lexer (:obj:`str`): The lexer to use when applying text formatting. Defaults to ``"python"``
4040 """
4141
4242 content : str
You can’t perform that action at this time.
0 commit comments