User bio
404 bio not found
Member since Apr 5, 2019
Posts:
Replies:
Thanks, but i can't find the Python Adapter do you mean EnsLib.PEX.BusinessOperation or IOP.BusinessOperation.
Next if Embedded Python runs natively on iris, why i have to declare a connection as you mention in your example ?
Does this work best ?
from iop import BusinessOperation
class HelloWorld(BusinessOperation):
def on_message(self, request):
self.log_info("Hello World")
wow, nice article, can you provide more information about how you register this python class into a production ?
for the more, can you tell me what is the difference between embedded python and irisnative, i'm a bit confused.
Open Exchange applications:
Certifications & Credly badges:
Global Masters badges:
Followers:
Following:
Guillaume has not followed anybody yet.
I'm using it all the time for string and i haven't seen any performance issue so far.
May be try to increase the buffer :
def stream_to_string(stream,buffer=1000000)-> str: string = "" stream.Rewind() while not stream.AtEnd: string += stream.Read(buffer) return string