informatica.infacore.dataframe.dataobject.DataObject.schema

DataObject.schema(is_write_object: bool = False) list

Returns the details of the fields for the selected DataObject instance.

Parameters:

is_write_object (bool, optional) – Provide this value as True to display fields for the write operation. Default value is False.

Returns:

The details of the fields for the selected DataObject instance.

Return type:

list

Example

>>> import informatica.infacore as ic
>>> orcl_do = ic.get_datasource("Oracle").get_connection("Oracle Prod").get_data_object("Customers")
>>> orcl_do.schema()