skrawcz commented on code in PR #666:
URL: https://github.com/apache/burr/pull/666#discussion_r2937811789


##########
burr/tracking/__init__.py:
##########
@@ -17,4 +17,13 @@
 
 from .client import LocalTrackingClient
 
-__all__ = ["LocalTrackingClient"]
+
+def __getattr__(name: str):
+    """Lazy load S3TrackingClient to avoid requiring boto3 unless used."""
+    if name == "S3TrackingClient":
+        from burr.tracking.s3client import S3TrackingClient
+        return S3TrackingClient
+    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
+
+
+__all__ = ["LocalTrackingClient", "S3TrackingClient"]

Review Comment:
   I don't think we need this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to