If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording.
For example, with this definition
def free_method():
return "free method"
def Example:
static_method = staticmethod(partial(free_method))
Example.static_method()
no events for the call to free_method will be recorded. This is because instrumentation of free_method happens after the module is loaded, and so after the call to partial(free_method)) has saved the reference to free_method.