iris-pex-embedded-python 3.5.6b13__tar.gz → 3.6.1b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/PKG-INFO +1 -1
  2. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/pyproject.toml +1 -1
  3. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Message.cls +145 -2
  4. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/PKG-INFO +1 -1
  5. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/LICENSE +0 -0
  6. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/README.md +0 -0
  7. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/setup.cfg +0 -0
  8. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/setup.py +0 -0
  9. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/__init__.py +0 -0
  10. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/BusinessOperation.cls +0 -0
  11. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/BusinessProcess.cls +0 -0
  12. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/BusinessService.cls +0 -0
  13. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Common.cls +0 -0
  14. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Director.cls +0 -0
  15. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Duplex/Operation.cls +0 -0
  16. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Duplex/Process.cls +0 -0
  17. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Duplex/Service.cls +0 -0
  18. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/InboundAdapter.cls +0 -0
  19. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Message.cls +0 -0
  20. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/OutboundAdapter.cls +0 -0
  21. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PickleMessage.cls +0 -0
  22. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +0 -0
  23. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +0 -0
  24. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +0 -0
  25. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +0 -0
  26. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +0 -0
  27. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Test.cls +0 -0
  28. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/PEX/Utils.cls +0 -0
  29. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/cls/Grongier/Service/WSGI.cls +0 -0
  30. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/__init__.py +0 -0
  31. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/__main__.py +0 -0
  32. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/_business_host.py +0 -0
  33. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/_cli.py +0 -0
  34. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/_common.py +0 -0
  35. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/_director.py +0 -0
  36. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/_utils.py +0 -0
  37. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/grongier/pex/wsgi/handlers.py +0 -0
  38. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/__init__.py +0 -0
  39. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/__main__.py +0 -0
  40. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_async_request.py +0 -0
  41. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_business_host.py +0 -0
  42. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_business_operation.py +0 -0
  43. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_business_process.py +0 -0
  44. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_business_service.py +0 -0
  45. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_cli.py +0 -0
  46. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_common.py +0 -0
  47. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_debugpy.py +0 -0
  48. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_decorators.py +0 -0
  49. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_director.py +0 -0
  50. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_director_protocol.py +0 -0
  51. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_dispatch.py +0 -0
  52. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_generator_request.py +0 -0
  53. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_inbound_adapter.py +0 -0
  54. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_iris.py +0 -0
  55. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_local.py +0 -0
  56. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_log_manager.py +0 -0
  57. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_message.py +0 -0
  58. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_message_validator.py +0 -0
  59. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_outbound_adapter.py +0 -0
  60. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_private_session_duplex.py +0 -0
  61. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_private_session_process.py +0 -0
  62. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_remote.py +0 -0
  63. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_serialization.py +0 -0
  64. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/_utils.py +0 -0
  65. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/BusinessOperation.cls +0 -0
  66. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/BusinessProcess.cls +0 -0
  67. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/BusinessService.cls +0 -0
  68. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Common.cls +0 -0
  69. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Director.cls +0 -0
  70. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Duplex/Operation.cls +0 -0
  71. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Duplex/Process.cls +0 -0
  72. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Duplex/Service.cls +0 -0
  73. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Generator/Message/Ack.cls +0 -0
  74. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Generator/Message/Poll.cls +0 -0
  75. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Generator/Message/Start.cls +0 -0
  76. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Generator/Message/StartPickle.cls +0 -0
  77. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Generator/Message/Stop.cls +0 -0
  78. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/InboundAdapter.cls +0 -0
  79. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Message/JSONSchema.cls +0 -0
  80. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/OutboundAdapter.cls +0 -0
  81. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PickleMessage.cls +0 -0
  82. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PrivateSession/Duplex.cls +0 -0
  83. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PrivateSession/Message/Ack.cls +0 -0
  84. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PrivateSession/Message/Poll.cls +0 -0
  85. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PrivateSession/Message/Start.cls +0 -0
  86. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/PrivateSession/Message/Stop.cls +0 -0
  87. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Projection.cls +0 -0
  88. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Service/Remote/Handler.cls +0 -0
  89. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Service/Remote/Rest/v1.cls +0 -0
  90. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Service/WSGI.cls +0 -0
  91. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Test.cls +0 -0
  92. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Utils.cls +0 -0
  93. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/cls/IOP/Wrapper.cls +0 -0
  94. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iop/wsgi/handlers.py +0 -0
  95. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/SOURCES.txt +0 -0
  96. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/dependency_links.txt +0 -0
  97. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/entry_points.txt +0 -0
  98. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/requires.txt +0 -0
  99. {iris_pex_embedded_python-3.5.6b13 → iris_pex_embedded_python-3.6.1b1}/src/iris_pex_embedded_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.5.6b13
3
+ Version: 3.6.1b1
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
 
4
4
  [project]
5
5
  name = "iris_pex_embedded_python"
6
- version = "3.5.6b13"
6
+ version = "3.6.1b1"
7
7
  description = "Iris Interoperability based on Embedded Python"
8
8
  readme = "README.md"
9
9
  authors = [
@@ -418,11 +418,21 @@ ClassMethod GetContentArray(
418
418
  ClassMethod SchemaToContents(
419
419
  schema As %DynamicObject,
420
420
  Output pContents) As %Status
421
+ {
422
+ // Call internal method with root schema tracking
423
+ Return ##class(IOP.Message).SchemaToContentsInternal(schema, schema, .pContents)
424
+ }
425
+
426
+ /// Internal method - same as SchemaToContents but tracks root schema for $defs resolution
427
+ ClassMethod SchemaToContentsInternal(
428
+ schema As %DynamicObject,
429
+ rootSchema As %DynamicObject,
430
+ Output pContents) As %Status
421
431
  {
422
432
  Set tSC = $$$OK
423
433
  Try {
424
434
  Set idx = 0
425
- Do ..ProcessProperties(schema.properties, .idx, .pContents, schema)
435
+ Do ..ProcessPropertiesInternal(schema.properties, .idx, .pContents, rootSchema)
426
436
  }
427
437
  Catch ex {
428
438
  Set tSC = ex.AsStatus()
@@ -444,6 +454,63 @@ ClassMethod ProcessProperties(
444
454
  Return $$$OK
445
455
  }
446
456
 
457
+ ClassMethod ProcessPropertiesInternal(
458
+ properties As %DynamicObject,
459
+ ByRef idx As %Integer,
460
+ Output pContents,
461
+ rootSchema As %DynamicObject) As %Status
462
+ {
463
+ Set iterator = properties.%GetIterator()
464
+ While iterator.%GetNext(.key, .value) {
465
+ Set idx = idx + 1
466
+ Do ..HandlePropertyInternal(value, .key, idx, .pContents, rootSchema)
467
+ }
468
+ Return $$$OK
469
+ }
470
+
471
+ ClassMethod HandlePropertyInternal(
472
+ value As %DynamicObject,
473
+ ByRef key As %String,
474
+ idx As %Integer,
475
+ Output pContents,
476
+ rootSchema As %DynamicObject)
477
+ {
478
+ Set type = value.type
479
+
480
+ If (type = "string") || (type = "number") || (type = "boolean") {
481
+ Do ..HandlePrimitiveType(type, idx, .pContents)
482
+ }
483
+ ElseIf type = "array" {
484
+ Do ..HandleArrayTypeInternal(value, .key, idx, .pContents, rootSchema)
485
+ }
486
+ ElseIf type = "object" {
487
+ Do ..HandleObjectType(value, idx, .pContents)
488
+ }
489
+ ElseIf $IsObject(value.allOf) {
490
+ Do ..HandleAllOfTypeInternal(value, key, idx, .pContents, rootSchema)
491
+ }
492
+ ElseIf value.%Get("$ref")'="" {
493
+ Set tDef = rootSchema."$defs".%Get($Piece(value."$ref", "/", *))
494
+ // Check if it's an enum or an object
495
+ If $IsObject(tDef.enum) {
496
+ // Handle enum - treat as string with enum values
497
+ Do ..HandleEnumType(tDef, idx, .pContents)
498
+ }
499
+ Else {
500
+ // Handle object type
501
+ Do ..HandleObjectTypeInternal(tDef, idx, .pContents, rootSchema)
502
+ }
503
+ }
504
+ Else {
505
+ Set pContents(idx,"type") = type
506
+ }
507
+
508
+ If type = "array" Set key = key_"()"
509
+ Set pContents = idx
510
+ Set pContents(idx,"name") = key
511
+ Set pContents(idx,"alias") = key
512
+ }
513
+
447
514
  ClassMethod HandleProperty(
448
515
  value As %DynamicObject,
449
516
  ByRef key As %String,
@@ -467,7 +534,15 @@ ClassMethod HandleProperty(
467
534
  }
468
535
  ElseIf value.%Get("$ref")'="" {
469
536
  Set tDef = schema."$defs".%Get($Piece(value."$ref", "/", *))
470
- Do ..HandleObjectType(tDef, idx, .pContents)
537
+ // Check if it's an enum or an object
538
+ If $IsObject(tDef.enum) {
539
+ // Handle enum - treat as string with enum values
540
+ Do ..HandleEnumType(tDef, idx, .pContents)
541
+ }
542
+ Else {
543
+ // Handle object type
544
+ Do ..HandleObjectType(tDef, idx, .pContents)
545
+ }
471
546
  }
472
547
  Else {
473
548
  Set pContents(idx,"type") = type
@@ -502,6 +577,18 @@ ClassMethod HandleArrayType(
502
577
  Do ..HandleProperty(value.items, key, idx, .pContents, schema)
503
578
  }
504
579
 
580
+ ClassMethod HandleArrayTypeInternal(
581
+ value As %DynamicObject,
582
+ ByRef key As %String,
583
+ idx As %Integer,
584
+ Output pContents,
585
+ rootSchema As %DynamicObject)
586
+ {
587
+ Set pContents(idx,"type") = "()"
588
+ // Handle array as a Handle Property
589
+ Do ..HandlePropertyInternal(value.items, key, idx, .pContents, rootSchema)
590
+ }
591
+
505
592
  ClassMethod HandleObjectType(
506
593
  value As %DynamicObject,
507
594
  idx As %Integer,
@@ -514,6 +601,37 @@ ClassMethod HandleObjectType(
514
601
  }
515
602
  }
516
603
 
604
+ ClassMethod HandleObjectTypeInternal(
605
+ value As %DynamicObject,
606
+ idx As %Integer,
607
+ Output pContents,
608
+ rootSchema As %DynamicObject)
609
+ {
610
+ Set pContents(idx,"type") = "object"
611
+ If $IsObject(value.properties) {
612
+ Do ..SchemaToContentsInternal(value, rootSchema, .subContents)
613
+ Merge pContents(idx) = subContents
614
+ }
615
+ }
616
+
617
+ ClassMethod HandleEnumType(
618
+ value As %DynamicObject,
619
+ idx As %Integer,
620
+ Output pContents)
621
+ {
622
+ Set pContents(idx,"type") = "%String"
623
+ // Store enum values for reference
624
+ If $IsObject(value.enum) {
625
+ Set enumString = ""
626
+ Set enumIterator = value.enum.%GetIterator()
627
+ While enumIterator.%GetNext(.enumIdx, .enumValue) {
628
+ If enumString '= "" Set enumString = enumString_","
629
+ Set enumString = enumString_enumValue
630
+ }
631
+ Set pContents(idx,"enum") = enumString
632
+ }
633
+ }
634
+
517
635
  ClassMethod HandleAllOfType(
518
636
  value As %DynamicObject,
519
637
  key As %String,
@@ -539,6 +657,31 @@ ClassMethod HandleAllOfType(
539
657
  }
540
658
  }
541
659
 
660
+ ClassMethod HandleAllOfTypeInternal(
661
+ value As %DynamicObject,
662
+ key As %String,
663
+ idx As %Integer,
664
+ Output pContents,
665
+ rootSchema As %DynamicObject)
666
+ {
667
+ Set pContents(idx) = 1 //TODO size of subContents
668
+ Set pContents(idx,"type") = "object"
669
+ Set pContents(idx,"name") = key
670
+ Set pContents(idx,"alias") = key
671
+
672
+ Set allOfIterator = value.allOf.%GetIterator()
673
+ While allOfIterator.%GetNext(.allOfKey, .allOfValue) {
674
+ If $IsObject(allOfValue."$ref") {
675
+ Do ..SchemaToContentsInternal(allOfValue."$ref", rootSchema, .subContents)
676
+ }
677
+ Else {
678
+ Set tDef = rootSchema."$defs".%Get($Piece(allOfValue."$ref","/",*))
679
+ Do ..SchemaToContentsInternal(tDef, rootSchema, .subContents)
680
+ }
681
+ Merge pContents(idx) = subContents
682
+ }
683
+ }
684
+
542
685
  Method bufferGet()
543
686
  {
544
687
  Quit ..#BUFFER
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.5.6b13
3
+ Version: 3.6.1b1
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License