Get the entry function Returns ------- f : Function The entry function if exist
(self)
| 81 | |
| 82 | @property |
| 83 | def entry_func(self): |
| 84 | """Get the entry function |
| 85 | |
| 86 | Returns |
| 87 | ------- |
| 88 | f : Function |
| 89 | The entry function if exist |
| 90 | """ |
| 91 | if self._entry: |
| 92 | return self._entry |
| 93 | self._entry = self.get_function(self.entry_name) |
| 94 | return self._entry |
| 95 | |
| 96 | def get_function(self, name, query_imports=False): |
| 97 | """Get function from the module. |
nothing calls this directly
no test coverage detected