Skip to content

Overriding expression functions #153

Open
@MarvinSchenkel

Description

@MarvinSchenkel

Hi there 👋,

I would love to mock the implementation of the utcNow() function to make my tests deterministic.

Reading the docs, it should be possible via FunctionRepository.register. However, I am getting the error "type[FunctionsRepository]" has no attribute "register", which kinda makes sense because this class does not have a function called register. Searching this repository also does not yield any other results regarding this functionality.

Am I missing something?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions