MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / wrapper

Function wrapper

lib/cli/tests/test_utils.py:232–236  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

230
231 def default_ascii(real):
232 def wrapper(*args, **kwargs):
233 mode = args[1] if len(args) > 1 else kwargs.get("mode", "r")
234 if "b" not in mode:
235 kwargs.setdefault("encoding", "ascii")
236 return real(*args, **kwargs)
237
238 return wrapper
239

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected