From 3502dcb0b4b8243e1e72e55a4177efe1745af9df Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Wed, 28 Dec 2022 16:10:18 -0500 Subject: [PATCH] 19791: Remove Python SDK "Notes" section This is now covered more helpfully, and in more detail, in the API client overview. Arvados-DCO-1.1-Signed-off-by: Brett Smith --- doc/sdk/python/sdk-python.html.textile.liquid | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/doc/sdk/python/sdk-python.html.textile.liquid b/doc/sdk/python/sdk-python.html.textile.liquid index e0dcc5ad2c..bf66194068 100644 --- a/doc/sdk/python/sdk-python.html.textile.liquid +++ b/doc/sdk/python/sdk-python.html.textile.liquid @@ -97,31 +97,3 @@ Type "help", "copyright", "credits" or "license" for more information. h2. Usage Check out the "API client overview":api-client.html and "cookbook":cookbook.html. - -h3. Notes - -The general form of an API call is: - - -
arvados.api(api_version).plural_resource_type().api_method(parameter=value, ...).execute()
-
-
- -Many API methods accept a parameter whose name is the same as the resource type. For example, @links.create@ accepts a parameter called @link@. This parameter should be given as @body@. - - -
arvados.api('v1').links().create(
-    uuid=test_link['uuid'],
-    body={'properties':{'foo':'bar'}}).execute()
-
-
- -One way to make API calls slightly less verbose is: - - -
arv = arvados.api('v1')
-j = arv.jobs().list().execute()
-
-
- -The SDK retrieves the list of API methods from the server at run time. Therefore, the set of available methods is determined by the server version rather than the SDK version. -- 2.30.2