<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Adam,<div class=""><br class=""></div><div class="">I have merged now all my outstanding patches into the master of OWSLib for the wps module including the async option.</div><div class=""><br class=""></div><div class="">There is another issue now because “async” will be a reserved keyword starting with Python 3.7. Maybe you have a good alternative name for it, see ticket:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/geopython/OWSLib/issues/455" class="">https://github.com/geopython/OWSLib/issues/455</a></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Carsten<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28. Jan 2018, at 21:51, Adam Laža <<a href="mailto:ad.laza32@gmail.com" class="">ad.laza32@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2018-01-22 13:46 GMT+01:00 Carsten Ehbrecht <span dir="ltr" class=""><<a href="mailto:ehbrecht@dkrz.de" target="_blank" class="">ehbrecht@dkrz.de</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="">
<br class="">
I also would like to have the async/sync switch. I have done this on my fork already:<br class="">
<br class="">
<a href="https://github.com/bird-house/OWSLib/blob/1887376ead09e04c60af2bc615414715c62a3611/owslib/wps.py#L274" rel="noreferrer" target="_blank" class="">https://github.com/bird-house/<wbr class="">OWSLib/blob/<wbr class="">1887376ead09e04c60af2bc6154147<wbr class="">15c62a3611/owslib/wps.py#L274</a><br class="">
<br class="">
It is using a simple async boolean parameter … easier to understand. Choose what ever you find more appropriate.<br class=""></blockquote><div class=""><br class=""></div><div class="">Oh, thanks for the lineage parameter I forgot it in my solution.</div><div class="">I agree that a simple async parameter is easier to understand. I suppose an use-case when client requests to store status but not to update it, is not very probable.<br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
Would be nice to get this into the OWSLib library.<br class=""></blockquote><div class=""><br class=""></div><div class="">+1</div><div class=""> <br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
Cheers,<br class="">
Carsten<br class="">
--<br class="">
Carsten Ehbrecht<br class="">
Abteilung Datenmanagement<br class="">
<br class="">
Deutsches Klimarechenzentrum GmbH (DKRZ)<br class="">
Bundesstraße 45 a • D-20146 Hamburg • Germany<br class="">
<br class="">
Phone: <a href="tel:%2B49%2040%20460094-148" value="+4940460094148" class="">+49 40 460094-148</a><br class="">
FAX:   <a href="tel:%2B49%2040%20460094-270" value="+4940460094270" class="">+49 40 460094-270</a><br class="">
Email: <a href="mailto:ehbrecht@dkrz.de" class="">ehbrecht@dkrz.de</a><br class="">
URL:   <a href="http://www.dkrz.de/" rel="noreferrer" target="_blank" class="">www.dkrz.de</a><br class="">
<br class="">
Geschäftsführer: Prof. Dr. Thomas Ludwig<br class="">
Sitz der Gesellschaft: Hamburg<br class="">
Amtsgericht Hamburg HRB 39784<br class="">
<div class="HOEnZb"><div class="h5"><br class="">
> On 22. Jan 2018, at 06:25, Jachym Cepicky <<a href="mailto:jachym.cepicky@gmail.com" class="">jachym.cepicky@gmail.com</a>> wrote:<br class="">
><br class="">
> Hi,<br class="">
><br class="">
> the change seems reasonable, I think, it's worth the pull request<br class="">
><br class="">
> J<br class="">
><br class="">
> ne 21. 1. 2018 v 22:01 odesílatel Adam Laža <<a href="mailto:ad.laza32@gmail.com" class="">ad.laza32@gmail.com</a>> napsal:<br class="">
> Hi devs,<br class="">
><br class="">
> currently I am working on an extension to PyWPS project using OWSLib. I need to send an execute request to a server but in sync mode. However in code [1] attributes 'status' and 'storeExecute', which - at least in case of PyWPS - determine the async/synchronity -  are hardcoded to true.<br class="">
><br class="">
> For my needs I added parameters to WPSExecution.execute() and buildRequest() methods [2]. I'm just wondering if 'status' and 'storeExecute' parameters are hardcoded for any reason? If not, is it desired functionality and my approach to force async/sync mode right?<br class="">
><br class="">
> Thanks in advance.<br class="">
> Adam<br class="">
><br class="">
> [1] <a href="https://github.com/geopython/OWSLib/blob/master/owslib/wps.py#L613" rel="noreferrer" target="_blank" class="">https://github.com/geopython/<wbr class="">OWSLib/blob/master/owslib/wps.<wbr class="">py#L613</a><br class="">
> [2] <a href="https://github.com/lazaa32/OWSLib/commit/bb94b710c83b48e9f179d29a51f61dffec00475a" rel="noreferrer" target="_blank" class="">https://github.com/lazaa32/<wbr class="">OWSLib/commit/<wbr class="">bb94b710c83b48e9f179d29a51f61d<wbr class="">ffec00475a</a><br class="">
> ______________________________<wbr class="">_________________<br class="">
> OWSLib-devel mailing list<br class="">
> <a href="mailto:OWSLib-devel@lists.osgeo.org" class="">OWSLib-devel@lists.osgeo.org</a><br class="">
> <a href="https://lists.osgeo.org/mailman/listinfo/owslib-devel" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/<wbr class="">mailman/listinfo/owslib-devel</a><br class="">
> ______________________________<wbr class="">_________________<br class="">
> OWSLib-devel mailing list<br class="">
> <a href="mailto:OWSLib-devel@lists.osgeo.org" class="">OWSLib-devel@lists.osgeo.org</a><br class="">
> <a href="https://lists.osgeo.org/mailman/listinfo/owslib-devel" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/<wbr class="">mailman/listinfo/owslib-devel</a><br class="">
<br class="">
</div></div><br class="">______________________________<wbr class="">_________________<br class="">
OWSLib-devel mailing list<br class="">
<a href="mailto:OWSLib-devel@lists.osgeo.org" class="">OWSLib-devel@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/owslib-devel" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/<wbr class="">mailman/listinfo/owslib-devel</a><br class=""></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>