Skip to content

Commit d4a4c1f

Browse files
committed
Replaced any reference to the "epy" folder with "pydoc"
1 parent 45257f3 commit d4a4c1f

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ Learn how to use the Google API Python Client with these guides:
3434

3535
### Reference Documentation
3636

37-
- Reference documentation for the core library [googleapiclient](http://googleapis.github.io/google-api-python-client/docs/epy/index.html).
37+
- Reference documentation for the core library [googleapiclient](http://googleapis.github.io/google-api-python-client/docs/pydoc/index.html).
3838
- [Library reference documentation by API](dyn/index.md).

docs/batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ object in a batch request.
1919
## Details
2020
You create batch requests by calling `new_batch_http_request()` on your service
2121
object, which returns a
22-
[BatchHttpRequest](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html)
22+
[BatchHttpRequest](https://google.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.BatchHttpRequest-class.html)
2323
object, and then calling `add()` for each request you want to execute.
2424
You may pass in a callback with each request that is called with the response to that request.
2525
The callback function arguments are:
@@ -39,7 +39,7 @@ You can also supply a single callback that gets called for each response:
3939
<pre class="prettyprint">See below</pre>
4040

4141
The
42-
[add()](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html#add)
42+
[add()](https://google.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.BatchHttpRequest-class.html#add)
4343
method also allows you to supply a <code>request_id</code> parameter for each request.
4444
These IDs are provided to the callbacks.
4545
If you don't supply one, the library creates one for you.

docs/media.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In the following example, the filename of an image is supplied:
1717
response = farm.animals().insert(media_body='pig.png', body={'name': 'Pig'}).execute()
1818
```
1919

20-
Alternatively, if you want to explicitly control the MIME type of the file sent, use the [googleapiclient.http.MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.MediaFileUpload-class.html) class for the media_body value:
20+
Alternatively, if you want to explicitly control the MIME type of the file sent, use the [googleapiclient.http.MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.MediaFileUpload-class.html) class for the media_body value:
2121

2222
```python
2323
media = MediaFileUpload('pig.png', mimetype='image/png')
@@ -49,7 +49,7 @@ media = MediaFileUpload('pig.png', mimetype='image/png', chunksize=1048576, resu
4949

5050
> Note: Chunk size restriction: There are some chunk size restrictions based on the size of the file you are uploading. Files larger than 256 KB (256 * 1024 B) must have chunk sizes that are multiples of 256 KB. For files smaller than 256 KB, there are no restrictions. In either case, the final chunk has no limitations; you can simply transfer the remaining bytes.
5151
52-
If a request fails, an [`googleapiclient.errors.HttpError`](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.errors.HttpError-class.html) exception is thrown, which should be caught and handled. If the error is retryable, the upload can be resumed by continuing to call request.next_chunk(), but subsequent calls must use an exponential backoff strategy for retries. The retryable error status codes are:
52+
If a request fails, an [`googleapiclient.errors.HttpError`](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.errors.HttpError-class.html) exception is thrown, which should be caught and handled. If the error is retryable, the upload can be resumed by continuing to call request.next_chunk(), but subsequent calls must use an exponential backoff strategy for retries. The retryable error status codes are:
5353

5454
- 404 Not Found (must restart upload)
5555
- 500 Internal Server Error
@@ -71,5 +71,5 @@ except apiclient.errors.HttpError, e:
7171

7272
## Extending MediaUpload
7373

74-
Your application may need to upload a media object that isn't a file. For example, you may create a large image on the fly from a data set. For such cases you can create a subclass of [MediaUpload](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.MediaUpload-class.html) which provides the data to be uploaded. You must fully implement the MediaUpload interface. See the source for the [MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.MediaFileUpload-class.html), [MediaIoBaseUpload](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.MediaIoBaseUpload-class.html), and [MediaInMemoryUpload](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.MediaInMemoryUpload-class.html) classes as examples.
74+
Your application may need to upload a media object that isn't a file. For example, you may create a large image on the fly from a data set. For such cases you can create a subclass of [MediaUpload](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.MediaUpload-class.html) which provides the data to be uploaded. You must fully implement the MediaUpload interface. See the source for the [MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.MediaFileUpload-class.html), [MediaIoBaseUpload](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.MediaIoBaseUpload-class.html), and [MediaInMemoryUpload](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.MediaInMemoryUpload-class.html) classes as examples.
7575

docs/mocks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The use of [Mock objects](https://en.wikipedia.org/wiki/Mock_object) is a standa
66
77
## HttpMock
88

9-
This class simulates the response to a single HTTP request. As arguments, the constructor for the [HttpMock](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpMock-class.html) object takes a dictionary object representing the response header and the path to a file. When this resource built on this object is executed, it simply returns contents of the file.
9+
This class simulates the response to a single HTTP request. As arguments, the constructor for the [HttpMock](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.HttpMock-class.html) object takes a dictionary object representing the response header and the path to a file. When this resource built on this object is executed, it simply returns contents of the file.
1010

1111
### Example
1212

@@ -34,7 +34,7 @@ pprint.pprint(response)
3434
3535
## HttpMockSequence
3636

37-
The [HttpMockSequence](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpMockSequence-class.html) class simulates the sequence of HTTP responses. Each response consists of a header (a dictionary) and a content object (which can be a reference to a file, a JSON-like data structure defined inline, or one of the keywords listed below). When the resource built from this Mock object is executed, it returns the series of responses, one by one.
37+
The [HttpMockSequence](https://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.HttpMockSequence-class.html) class simulates the sequence of HTTP responses. Each response consists of a header (a dictionary) and a content object (which can be a reference to a file, a JSON-like data structure defined inline, or one of the keywords listed below). When the resource built from this Mock object is executed, it returns the series of responses, one by one.
3838

3939
### Special Values for simulated HTTP responses
4040

docs/start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This section describes how to build an API-specific service object, make calls t
4545

4646
### Build the service object
4747

48-
Whether you are using simple or authorized API access, you use the [build()](http://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.discovery-module.html#build) function to create a service object. It takes an API name and API version as arguments. You can see the list of all API versions on the [Supported APIs](dyn/index.md) page. When `build()` is called, a service object will attempt to be constructed with methods specific to the given API.
48+
Whether you are using simple or authorized API access, you use the [build()](http://googleapis.github.io/google-api-python-client/docs/pydoc/googleapiclient.discovery-module.html#build) function to create a service object. It takes an API name and API version as arguments. You can see the list of all API versions on the [Supported APIs](dyn/index.md) page. When `build()` is called, a service object will attempt to be constructed with methods specific to the given API.
4949

5050
`httplib2`, the underlying transport library, makes all connections persistent by default. Use the service object with a context manager or call `close` to avoid leaving sockets open.
5151

@@ -85,7 +85,7 @@ nested_collection = service.featured().stamps()
8585

8686
### Methods and requests
8787

88-
Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](http://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this:
88+
Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](http://google.github.io/google-api-python-client/docs/pydoc/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this:
8989

9090
```python
9191
request = collection.list(cents=5)
@@ -149,5 +149,5 @@ Use the [APIs Explorer](https://developers.google.com/apis-explorer/) to browse
149149

150150
## Library reference documentation
151151

152-
[Core library documentation](http://googleapis.github.io/google-api-python-client/docs/epy/index.html)
152+
[Core library documentation](http://googleapis.github.io/google-api-python-client/docs/pydoc/index.html)
153153
and [Library reference documentation by API](dyn/index.md) are available.

0 commit comments

Comments
 (0)