Python Class With Statement In Oracle