Skip to content

Commit d70b41e

Browse files
committed
doc(discovery v2): Update documentation for discovery v2
1 parent f42de89 commit d70b41e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Python client library to quickly get started with the various [Watson APIs][wdc]
1313
* [Before you begin](#before-you-begin)
1414
* [Installation](#installation)
1515
* [Examples](#examples)
16+
* [Discovery v2 only on CP4D](#discovery-v2-only-on-cp4d)
1617
* [Running in IBM Cloud](#running-in-ibm-cloud)
1718
* [Authentication](#authentication)
1819
* [Getting credentials](#getting-credentials)
@@ -83,6 +84,9 @@ For more details see [#405](https://github.com/watson-developer-cloud/python-sdk
8384

8485
The [examples][examples] folder has basic and advanced examples. The examples within each service assume that you already have [service credentials](#getting-credentials).
8586

87+
## Discovery v2 only on CP4D
88+
Discovery v2 is only available on Cloud Pak for Data.
89+
8690
## Running in IBM Cloud
8791

8892
If you run your app in IBM Cloud, the SDK gets credentials from the [`VCAP_SERVICES`][vcap_services] environment variable.

examples/discovery_v2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from ibm_watson.discovery_v2 import TrainingExample
55
from ibm_cloud_sdk_core.authenticators import CloudPakForDataAuthenticator, BearerTokenAuthenticator
66

7+
## Important: Discovery v2 is only available on Cloud Pak for Data. ##
78

89
## Authentication ##
910
## Option 1: username/password

0 commit comments

Comments
 (0)