MCPcopy Create free account
hub / github.com/NanoNets/docstrange / is_cloud_enabled

Method is_cloud_enabled

docstrange/extractor.py:283–289  ·  view source on GitHub ↗

Check if cloud processing is enabled and configured. Returns: True if cloud processing is available

(self)

Source from the content-addressed store, hash-verified

281 return ConversionResult(text, metadata)
282
283 def is_cloud_enabled(self) -> bool:
284 """Check if cloud processing is enabled and configured.
285
286 Returns:
287 True if cloud processing is available
288 """
289 return self.cloud_mode and bool(self.api_key)
290
291 def get_processing_mode(self) -> str:
292 """Get the current processing mode.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected