Skip to content

Commit 39f61fa

Browse files
authored
Add formatting for clarity
1 parent 9041d23 commit 39f61fa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tasks
2323
_____
2424

2525
Most of these methods will return a `scaleapi.Task` object, which will contain information
26-
about the json response (task_id, status...).
26+
about the json response (task_id, status, etc.).
2727

2828
Any parameter available in `Scale's API documentation`__ can be passed as an argument option with the corresponding type.
2929

@@ -35,7 +35,12 @@ Create Task
3535
^^^^^^^^^^^
3636

3737
This method can be used for any Scale supported task type using the following format:
38-
`client.create_{{Task Type}}_task(...)` and passing the applicable values into the function definition. The applicable fields and further information for each task type can be found in `Scale's API documentation`__.
38+
39+
.. code-block:: python
40+
41+
client.create_{{Task Type}}_task(...)
42+
43+
Passing in the applicable values into the function definition. The applicable fields and further information for each task type can be found in `Scale's API documentation`__.
3944

4045
__ https://docs.scale.com/reference#general-image-annotation
4146

@@ -254,8 +259,7 @@ Retrieve a list of batches
254259
project_name='test_project',
255260
pathc = false,
256261
instruction='update: Please label all the stuff',
257-
258-
)
262+
)
259263
260264
Error handling
261265
______________

0 commit comments

Comments
 (0)