CData Python Connector for IBM Cloud Object Storage

Build 25.0.9454

Connecting

Connecting with the cdata.ibmcloudobjectstorage Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.ibmcloudobjectstorage as mod
conn = mod.connect("ApiKey=myApiKey;CloudObjectStorageCRN=MyInstanceCRN;Region=myRegion;OAuthClientId=MyOAuthClientId;OAuthClientSecret=myOAuthClientSecret;")

Once the connection is created, you can use it to execute subsequent SQL queries.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454