You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collects deprecation logs from the given model and appends any new logs to the internal collection.
755
+
756
+
This method checks if the provided model has deprecation logs (identified by the presence of the DEPRECATION_LOGS_TAG attribute and a non-None `_deprecation_logs` property). It iterates through each deprecation log in the model and appends it to the `_collected_deprecation_logs` list if it has not already been collected, ensuring that duplicate logs are avoided.
757
+
758
+
Args:
759
+
model (BaseModelWithDeprecations): The model instance from which to collect deprecation logs.
0 commit comments