MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / blob_handler

Method blob_handler

dshell/core.py:756–770  ·  view source on GitHub ↗

A placeholder. Plugins will be able to overwrite this to perform custom activites on Blob data. It should return a Connection object and a Blob object for functions further down the chain. Args: conn: Connection object blob:

(self, conn: "Connection", blob: "Blob")

Source from the content-addressed store, hash-verified

754 blob.hidden = True
755
756 def blob_handler(self, conn: "Connection", blob: "Blob"):
757 """
758 A placeholder.
759
760 Plugins will be able to overwrite this to perform custom activites on
761 Blob data.
762
763 It should return a Connection object and a Blob object for functions
764 further down the chain.
765
766 Args:
767 conn: Connection object
768 blob: Blob object
769 """
770 return conn, blob
771
772 def connection_init_handler(self, conn: "Connection"):
773 """

Callers 1

_blob_handlerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected