Hi,

According to
https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/python/faq/

> When executing jobs in mini cluster(e.g. when executing jobs in IDE) ...
please remember to explicitly wait for the job execution to finish as these
APIs are asynchronous.

I hope my program will be able to run in both local mode as well as in
remote mode. Therefore I hope to do something like:

```python
result = ...
if local_mode:
  result.wait()
else:
  result
```

Is there a way to tell if the program is run under local mode vs. remote
mode?

Best,
Yik San

Reply via email to