Commit 0e7bb10
committed
Use built-in
Much simpler!
(Note that the `function_record_pickle_helper()` code is NOT removed in this commit.)
This approach was discovered in an attempt to solve the problem that
stubgen picks up `_function_record_pickle_helper_v1`.
For example (tensorflow_text/core/pybinds/tflite_registrar.pyi):
```diff
+from typing import Any
+
+def _function_record_pickle_helper_v1(*args, **kwargs) -> Any: ...
```eval() instead of function_record_pickle_helper()
1 parent 0d210a5 commit 0e7bb10
2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | 564 | | |
570 | 565 | | |
571 | 566 | | |
| |||
0 commit comments