@@ -754,10 +754,11 @@ def processes():
754
754
def processes_from_namespace (namespace ):
755
755
# TODO: this endpoint is in draft at the moment
756
756
# see https://github.com/Open-EO/openeo-api/issues/310, https://github.com/Open-EO/openeo-api/pull/348
757
- # TODO: convention for user namespace? use '@' instead of "u:"
758
757
# TODO: unify with `/processes` endpoint?
758
+ _log .warning (f"Non-standard processes_from_namespace with { namespace = } " )
759
759
full = smart_bool (request .args .get ("full" , False ))
760
760
target_version = None
761
+ # TODO: convention for user namespace? use '@' instead of "u:"
761
762
if namespace .startswith ("u:" ) and backend_implementation .user_defined_processes :
762
763
user_id = namespace .partition ("u:" )[- 1 ]
763
764
user_udps = [p for p in backend_implementation .user_defined_processes .get_for_user (user_id ) if p .public ]
@@ -791,6 +792,7 @@ def processes_from_namespace(namespace):
791
792
def processes_details (namespace , process_id ):
792
793
# TODO: this endpoint is in draft at the moment
793
794
# see https://github.com/Open-EO/openeo-api/issues/310, https://github.com/Open-EO/openeo-api/pull/348
795
+ _log .warning (f"Non-standard processes_details with { namespace = } { process_id = } " )
794
796
if namespace .startswith ("u:" ) and backend_implementation .user_defined_processes :
795
797
user_id = namespace .partition ("u:" )[- 1 ]
796
798
udp = backend_implementation .user_defined_processes .get (user_id = user_id , process_id = process_id )
0 commit comments