14.12.1 Get a Server Instance

You can get a PGX Instance as shown in the following code:

import oracle.pgx.api.*;
ServerInstance instance = Pgx.getInstance(Pgx.EMBEDDED_URL);
instance = pypgx.get_session(base_url = "url")