OIDC and parallel operation
parallelize=True should not be used for bulk methods when authenticating with OIDC if the script is expected to
run for longer than the lifetime of the issued access token. Authentication issues may occur if the access token
expires during parallel operation. Access tokens typically have a lifetime of 1 hour, though this may vary depending
on the identity provider configuration.
This impacts the following methods:
Session.bulk_fetch_release_states()Session.bulk_delete_or_withdraw_records()Table.bulk_fetch()Table.bulk_link_fetch()Table.bulk_fetch_associated_records()Table.bulk_fetch_data_revision_history()Table.bulk_fetch_all_record_versions()
Other known issues
-
If an attribute is exported with the
Table.bulk_fetch()method withinclude_binary_data=False, subsequent values returned by theAttributePicture.mime_file_typeproperty will always returnimage/png, regardless of the actual image format. The header returned when accessing the URL is unaffected and should be used instead. -
The behavior of
Table.get_record_by_lookup_value()when a non-unique lookup value is provided is dependent on the Granta MI version. In Granta MI 2025 R2 and later, if multiple matches are detected, no results are returned. In earlier Granta MI versions, an exception is raised. -
If an attribute is removed from the Granta MI database after the parent
Databaseis first accessed, calls toTable.refresh_attributes()raise aGRANTA_ServiceLayerError. UseDatabase.refresh_tables()instead. -
In version-controlled tables,
DataRevisionHistoryobjects have an ambiguous meaning. Thehistory.last_modified_datefor the following attribute types is updated when the release state of the parent record is modified:- Date
- Hyperlink
- Integer
- Logical
- Range
- Short text
history.last_modified_datefor the following attribute types is not updated when the release state of the parent record is modified:- Discrete
- File
- Functional
- Long text
- Picture
- Point
- Tabular
-
The following hyperlink display options available in MI Viewer are not supported by
AttributeHyperlink.hyperlink_displayorLocalHyperlinkValue.hyperlink_display:- Current pane
- Left browse pane
- Both panes below toolbar
hyperlink_displayorhyperlink_displaywill be set toContent. If the attribute is subsequently re-imported, the display option in MI Viewer will be changed to “Right content pane”. -
Point and range local tabular data cells do not currently support trailing zeros. Any values with significant figures
information that are imported by setting
PointValueWithParameters.sig_figs_for_import,RangeDataType.low_value_sig_figs_for_import, orRangeDataType.high_value_sig_figs_for_importas part of a tabular data import operation, will have the significant figures information removed. -
Session.persist_oidc_token()raises awin32ctypes.pywin32.pywintypes.errorwhen it is used to persist a refresh token longer than 1280 characters in the Windows Credential Manager. If this error is raised, use an alternative keyring backend. A list of alternative backends are available on the keyring PyPI page.