New post

Find

Article
· Aug 4, 2024 2m read

第十二章 在 Web 服务中定义自定义处理 - 实现 ProcessBody()

[toc]

第十二章 在 Web 服务中定义自定义处理 - 实现 ProcessBody()

实现 ProcessBody()

ProcessBody() 方法具有以下签名:

Discussion (0)1
Log in or sign up to continue
Announcement
· Aug 4, 2024

Key Questions of the Month: July 2024

Hi Community,

It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of July chosen by InterSystems Experts within all Communities:

📌 Error: Invalid Community Edition license, may have exceeded core limit. - Shutting down the system : $zu(56,2)= 0 (Probléme avec : irishealth-community:2024.1) by @Moussa SAMB (FR)

📌 Error iniciar Docker IRIS Community by @Daniel Aguilar (ES)

📌 OnInit() Question - Ens.BusinessOperation (HTTP.OutboundAdapter) by @Scott Roth (EN)

These questions will be highlighted with the #Key Question tag, and their authors will get the Key Question badge on Global Masters (when it's back).

If you find the key question(s) from other communities interesting, just drop us a line in the comments and we will translate the question(s) and the accepted answer(s).

Congrats, and thank you all for your interesting questions. Keep them coming!

See you next month😉

Discussion (0)1
Log in or sign up to continue
Question
· Aug 4, 2024

Convert IRIS DynamicArray to Python list

Hello Community,

How to convert the IRIS %DynamicArray into python list. I got " <THROW>TestDyncArray+1^MyLearn.Pyth.NewClass1.1 *%Exception.PythonException <PYTHON EXCEPTION> 246 <class 'AttributeError'>: <unknown exception data>" error when passing array values to python class.

ClassMethod TestDyncArray()
{
	Do ..DyncArrayInPy([1,2,3,4])
}

ClassMethod DyncArrayInPy(numbers) [ Language = python ]
{
	import iris
	print(type(numbers)) ;<class 'iris.%Library.DynamicArray'> need to be a <class 'list'>
	for num in numbers:
		print(num)
}

Thanks!

3 Comments
Discussion (3)1
Log in or sign up to continue
Announcement
· Aug 3, 2024

Top Videos for InterSystems Developers in July 2024

Discussion (0)1
Log in or sign up to continue
Discussion (1)2
Log in or sign up to continue