Oracle Magazine, July/August 2019
ORACLE MAGAZINE JULY AUGUST 2019 86 Database Developer OPEN SOURCE import oci_ atp config oci config from_ file atp_ status NONE def wait_ callback attempts results global atp_ status if atp_ status results data lifecycle_ state atp_ status results data lifecycle_ state print atp_ status end flush True else print end flush True if __ name__ __ main__ Initialize the client db_ client oci database DatabaseClient config Create the CreateAutonomousDatabaseDetails object atp_ details oci database models CreateAutonomousDatabaseDetails Populate the details used to create the ATP Database atp_ details admin_ password Welcome1 SDK Remember to change this to a good password atp_ details compartment_ id os getenv OCI_ COMPARTMENT or config tenancy Use a specific compartment or default to the Root compartment
You must have JavaScript enabled to view digital editions.