@@ -45,15 +45,6 @@ class NaturalLanguageClassifierV1(BaseService):
4545 DEFAULT_SERVICE_URL = 'https://api.us-south.natural-language-classifier.watson.cloud.ibm.com'
4646 DEFAULT_SERVICE_NAME = 'natural_language_classifier'
4747
48- print (
49- """
50- On 9 August 2021, IBM announced the deprecation of the Natural Language Classifier service.
51- The service will no longer be available from 8 August 2022. As of 9 September 2021, you will not be able to create new instances.
52- Existing instances will be supported until 8 August 2022. Any instance that still exists on that date will be deleted.
53- For more information, see https://cloud.ibm.com/docs/natural-language-classifier?topic=natural-language-classifier-migrating
54- """
55- )
56-
5748 def __init__ (
5849 self ,
5950 authenticator : Authenticator = None ,
@@ -65,7 +56,15 @@ def __init__(
6556 :param Authenticator authenticator: The authenticator specifies the authentication mechanism.
6657 Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
6758 about initializing the authenticator of your choice.
68- """
59+ """
60+ print (
61+ """
62+ On 9 August 2021, IBM announced the deprecation of the Natural Language Classifier service.
63+ The service will no longer be available from 8 August 2022. As of 9 September 2021, you will not be able to create new instances.
64+ Existing instances will be supported until 8 August 2022. Any instance that still exists on that date will be deleted.
65+ For more information, see https://cloud.ibm.com/docs/natural-language-classifier?topic=natural-language-classifier-migrating
66+ """
67+ )
6968 if not authenticator :
7069 authenticator = get_authenticator_from_environment (service_name )
7170 BaseService .__init__ (self ,
0 commit comments