Calls the original function without converting with AutoGraph.
(f, args, kwargs, options, update_cache=True)
| 318 | |
| 319 | |
| 320 | def _call_unconverted(f, args, kwargs, options, update_cache=True): |
| 321 | """Calls the original function without converting with AutoGraph.""" |
| 322 | if update_cache: |
| 323 | conversion.cache_unconverted(f, options) |
| 324 | |
| 325 | if inspect_utils.istfmethodtarget(f): |
| 326 | return f.__self__.call(args, kwargs) |
| 327 | |
| 328 | try: |
| 329 | if kwargs is not None: |
| 330 | return f(*args, **kwargs) |
| 331 | else: |
| 332 | return f(*args) |
| 333 | except Exception as e: # pylint:disable=broad-except |
| 334 | _attach_metadata(e, f, False) |
| 335 | raise |
| 336 | |
| 337 | |
| 338 | def _is_known_loaded_type(f, module_name, entity_name): |
no test coverage detected