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
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Closes#2700 (last one!)
This removes the exception for E501 from Ruff.
https://docs.astral.sh/ruff/rules/line-too-long/
Refactor only
## Are these changes tested?
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
"""A `requests.auth.AuthBase` adapter that integrates an `AuthManager` into a `requests.Session` to automatically attach the appropriate Authorization header to every request.
253
+
"""A `requests.auth.AuthBase` adapter for integrating an `AuthManager` into a `requests.Session`.
253
254
255
+
This adapter automatically attaches the appropriate Authorization header to every request.
254
256
This adapter is useful when working with `requests.Session.auth`
255
257
and allows reuse of authentication strategies defined by `AuthManager`.
256
258
This AuthManagerAdapter is only intended to be used against the REST Catalog
"Iceberg does not yet support 'ns' timestamp precision. Use 'downcast-ns-timestamp-to-us-on-write' configuration property to automatically downcast 'ns' to 'us' on write.",
1427
+
"Iceberg does not yet support 'ns' timestamp precision. "
1428
+
"Use 'downcast-ns-timestamp-to-us-on-write' configuration property to automatically "
1429
+
"downcast 'ns' to 'us' on write.",
1421
1430
)
1422
1431
else:
1423
1432
raiseTypeError(f"Unsupported precision for timestamp type: {primitive.unit}")
f"Cannot infer partition value from parquet metadata for a non-linear Partition Field: {partition_field.name} with transform {partition_field.transform}"
2463
+
f"Cannot infer partition value from parquet metadata for a non-linear Partition Field: "
2464
+
f"{partition_field.name} with transform {partition_field.transform}"
f"Cannot infer partition value from parquet metadata as there are more than one partition values for Partition Field: {partition_field.name}. {lower_value=}, {upper_value=}"
2485
+
f"Cannot infer partition value from parquet metadata as there are more than one partition values "
# UnknownType can only be promoted to Primitive types
1765
1770
ifisinstance(rhs.field_type, UnknownType):
1766
1771
ifnotisinstance(lhs.field_type, PrimitiveType):
1767
-
error_msg=f"Null type (UnknownType) cannot be promoted to non-primitive type {lhs.field_type}. UnknownType can only be promoted to primitive types (string, int, boolean, etc.) in V3+ tables."
1772
+
error_msg= (
1773
+
f"Null type (UnknownType) cannot be promoted to non-primitive type {lhs.field_type}. "
1774
+
"UnknownType can only be promoted to primitive types (string, int, boolean, etc.) "
1775
+
"in V3+ tables."
1776
+
)
1768
1777
else:
1769
-
error_msg=f"Null type (UnknownType) cannot be promoted to {lhs.field_type}. This may be due to table format version limitations (V1/V2 tables don't support UnknownType promotion)."
1778
+
error_msg= (
1779
+
f"Null type (UnknownType) cannot be promoted to {lhs.field_type}. "
1780
+
"This may be due to table format version limitations "
1781
+
"(V1/V2 tables don't support UnknownType promotion)."
0 commit comments