You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm missing something, I think this can be done more compactly with:
> for name, func in inspect.getmembers(
> openeo_processes_dask.process_implementations,
> inspect.isfunction,
> ):
> process_registry[name] = Process(
> spec=getattr(openeo_processes.specs, name),
> implementation=func
> )
> Also, wouldn't it be better that openeo_processes_dask provide helpers to list implementations/spec, instead of having to use ugly inspect.getmembers and getattr constructs?
The text was updated successfully, but these errors were encountered:
Address issue raised in Open-EO/openeo-python-client#411 (comment).
The text was updated successfully, but these errors were encountered: