Skip to content

Commit 7c09b49

Browse files
committed
Minor style fixes
1 parent fc38119 commit 7c09b49

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/client/apidocs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Code-based documentation
2-
========================
1+
API Reference
2+
=============
33

44
Module contents
55
---------------

docs/client/overview.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Jobs instance is described well in ``Jobs`` section below.
5555

5656
For example, to schedule a spider run (it returns a job object)::
5757

58-
>>> project.jobs.run('spider1', job_args={'arg1':'val1'})
58+
>>> project.jobs.run('spider1', job_args={'arg1': 'val1'})
5959
<scrapinghub.client.Job at 0x106ee12e8>>
6060

6161
Project instance also has the following fields:
@@ -123,7 +123,7 @@ Like project instance, spider instance has ``jobs`` field to work with the spide
123123

124124
To schedule a spider run::
125125

126-
>>> spider.jobs.run(job_args={'arg1:'val1'})
126+
>>> spider.jobs.run(job_args={'arg1': 'val1'})
127127
<scrapinghub.client.Job at 0x106ee12e8>>
128128

129129
Note that you don't need to specify spider name explicitly.
@@ -157,7 +157,7 @@ Use ``run`` method to run a new job for project/spider::
157157

158158
Scheduling logic supports different options, like
159159

160-
- job_args to provide spider arguments for the job
160+
- job_args to provide arguments for the job
161161
- units to specify amount of units to run the job
162162
- job_settings to pass additional settings for the job
163163
- priority to set higher/lower priority of the job

scrapinghub/client/frontiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def list(self):
105105
"""List frontiers names.
106106
107107
:return: a list of frontiers names.
108-
:rtype: list of strings
108+
:rtype: List[str]
109109
"""
110110
return next(self._origin.apiget('list'))
111111

0 commit comments

Comments
 (0)