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):
21
21
A successful response from the paste service.
22
22
23
23
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.
26
26
"""
27
27
28
28
link : str
@@ -34,9 +34,9 @@ class PasteFile(BaseModel):
34
34
A file to be pasted to the paste service.
35
35
36
36
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"``
40
40
"""
41
41
42
42
content : str
You can’t perform that action at this time.
0 commit comments