MCPcopy Create free account
hub / github.com/cel-expr/cel-go / SetDisableMacros

Method SetDisableMacros

common/env/env.go:661–664  ·  view source on GitHub ↗

SetDisableMacros disables the macros for the library.

(value bool)

Source from the content-addressed store, hash-verified

659
660// SetDisableMacros disables the macros for the library.
661func (lib *LibrarySubset) SetDisableMacros(value bool) *LibrarySubset {
662 lib.DisableMacros = value
663 return lib
664}
665
666// AddIncludedMacros allow-lists one or more macros by function name.
667//

Callers 5

envToStdLibFunction · 0.95
TestPromptTemplateFunction · 0.80
TestEnvFromConfigErrorsFunction · 0.80
TestSubsetMacroFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestPromptTemplateFunction · 0.64
TestEnvFromConfigErrorsFunction · 0.64
TestSubsetMacroFunction · 0.64