vincbeck commented on code in PR #57578:
URL: https://github.com/apache/airflow/pull/57578#discussion_r2486872575


##########
providers/fab/src/airflow/providers/fab/www/session.py:
##########
@@ -24,22 +24,19 @@
 
 
 class _LazySafeSerializer:
-    def encode(self, session_dict):
+    def dumps(self, session_dict):
         encoder = msgspec.msgpack.Encoder(
             enc_hook=lambda obj: str(obj) if isinstance(obj, LazyString) else 
obj
         )
-
         return encoder.encode(dict(session_dict))
 
-    def decode(self, data):
+    def loads(self, data):
         decoder = msgspec.msgpack.Decoder()
-
         return decoder.decode(data)
 
-    def _default(self, obj):

Review Comment:
   Unused



-- 
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