Skip to main content
Question

Add_Table_From_Pool deprecated in 2.x?

  • May 17, 2023
  • 2 replies
  • 11 views

Hi,

Im trying to add a table from Datapool to datamodel and i found this function, add_table_from_pool in the release notes of 1.5

Now when i try its not present. Is this deprecated?

If so, are there any alternatives?

Please let me know.

image 

Now the error:

image 

2 replies

janpeter.van.d
Level 12
Forum|alt.badge.img+26

Hi @Rahul Bhat,

 

The new syntax is:

data_model.add_table(name, alias=None, **kwargs)

See https://celonis.github.io/pycelonis/2.0.0/reference/pycelonis/ems/data_integration/data_model/#pycelonis.ems.data_integration.data_model.DataModel.add_table for more details.


  • Author
  • Level 7
  • May 18, 2023

Hi @janpeter.van.d 

Thank you . That worked.