Skip to content

Conversation

@151N3
Copy link
Contributor

@151N3 151N3 commented Jan 16, 2024

Check #1006

@151N3
Copy link
Contributor Author

151N3 commented Jan 19, 2024

Hi @MariusWirtz,
I looks fine to me now. It tested the last changes and looks good. Please let me know if you find anything else. Thank you

@MariusWirtz
Copy link
Collaborator

Nice work @151N3. Thank you

@MariusWirtz MariusWirtz merged commit b62c998 into cubewise-code:master Jan 23, 2024
MariusWirtz added a commit that referenced this pull request Jan 23, 2024
MariusWirtz added a commit that referenced this pull request Jan 23, 2024
rclapp pushed a commit to rclapp/TM1py that referenced this pull request Jan 24, 2024
* Initial Commit. Added two functions create_blank_dimension and create_blank_cube_and_dimensions in Utils/Utils.py

* require admin utils

adding other admin types require

* NotAdmin exceptions

exceptions for other admin types

* other admin types

adding other admin types

* other admin types property

* updated admin requirements

* updated admin requirements

* updated admin requirements

* update admin requirements

* updated admin requirements

* update admin requirements

* admin requirement update

* Update HierarchyService.py

* Update Utils.py

other NotAdmin exceptions

* Update ServerService bug fix

* Update MonitoringService require admin bug fix

* Update SecurityService require admin bug fix

* Update CellService require admin bug fix

* Update User other admin properties

* Update HierarchyService bug fix

update_or_create_hierarchy_from_dataframe requires both data and ops admin

* added update_or_create function in ElementService.py

* Update ElementService.py

solved exists function bug

* Add allow_empty_alias argument to get_elements_df

Fixes cubewise-code#999

* Fix allow_empty_alias mixed edge case

* Update Chore.py

Add: execution_path. Idea: 1 chore as a dictionary with its called processes (in order). Not parameters and no other information. Useful for building a tree of chores ==> processes ==> their called processes.

* Update Chore.py

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Hotfix require_admin decorator

* New extract_cellset_axes_raw_async and extract_cellset_cells_raw_async were added to extract raw data from TM1 asynchronously. Demonstrate efficiency in retrieving large datasets with > 1M cells and can be further used to create asynchronous execute_mdx.

extract_cellset_axes_cardinality was also added to retrieve cellset cardinality

* Drop api/v1/ in url in async functions

* Hotfix add missing slash in is_admin

* Fix issue 997

Remove obsolete and unexpected records in shaped df response on
execute_view, execute_mdx functions

* Logger methods

* loggers bug fix 1

* logger_get_all_names refactor

* logger functions rename

* Created new function clear_from_df()

* Added docsting in function clear_from_df() and changed some variable names

* Reverted auto formatting

* Minor changes in docstring and switched to mdxpy Functions to build the query in clear_from_df

* Rename to clear_with_dataframe

Successor of cubewise-code#1026

* clear_with_dataframe verify column uniqueness

* Update CellService.py

Add get_values()

* Refactor get_values

use mdxpy in get_values

* Fix return_async_id parameter

* LoggerService initial commit

* LoggerService to __init__.py

* LoggerService to TM1Service.py

* Update ServerService.py

remove logger functions that are now part of separate LoggerService

* indent fix

* AuditLogService require admin update

* ConfigurationService require admin update

* MessageLogService require admin update

* TransactionLogService require admin update

---------

Co-authored-by: Enis Isufi <Enis.Isufi@deutschebahn.com>
Co-authored-by: Karen Wong <wongkayankaren@gmail.com>
Co-authored-by: MariusWirtz <MariusWirtz2@gmail.com>
Co-authored-by: Wim Gielis <wim.gielis@gmail.com>
Co-authored-by: VVM <vvmits98@gmail.com>
Co-authored-by: Enis Isufi <enis_isufi88@hotmail.com>
Co-authored-by: Ray Price <raeldor@gmail.com>
MariusWirtz added a commit that referenced this pull request Jan 26, 2024
* Initial Commit. Added two functions create_blank_dimension and create_blank_cube_and_dimensions in Utils/Utils.py

* require admin utils

adding other admin types require

* NotAdmin exceptions

exceptions for other admin types

* other admin types

adding other admin types

* other admin types property

* updated admin requirements

* updated admin requirements

* updated admin requirements

* update admin requirements

* updated admin requirements

* update admin requirements

* admin requirement update

* Update HierarchyService.py

* Update Utils.py

other NotAdmin exceptions

* Update ServerService bug fix

* Update MonitoringService require admin bug fix

* Update SecurityService require admin bug fix

* Update CellService require admin bug fix

* Update User other admin properties

* Update HierarchyService bug fix

update_or_create_hierarchy_from_dataframe requires both data and ops admin

* added update_or_create function in ElementService.py

* Update ElementService.py

solved exists function bug

* Add allow_empty_alias argument to get_elements_df

Fixes #999

* Fix allow_empty_alias mixed edge case

* Update Chore.py

Add: execution_path. Idea: 1 chore as a dictionary with its called processes (in order). Not parameters and no other information. Useful for building a tree of chores ==> processes ==> their called processes.

* Update Chore.py

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Hotfix require_admin decorator

* New extract_cellset_axes_raw_async and extract_cellset_cells_raw_async were added to extract raw data from TM1 asynchronously. Demonstrate efficiency in retrieving large datasets with > 1M cells and can be further used to create asynchronous execute_mdx.

extract_cellset_axes_cardinality was also added to retrieve cellset cardinality

* Drop api/v1/ in url in async functions

* Hotfix add missing slash in is_admin

* Fix issue 997

Remove obsolete and unexpected records in shaped df response on
execute_view, execute_mdx functions

* Logger methods

* loggers bug fix 1

* logger_get_all_names refactor

* logger functions rename

* Created new function clear_from_df()

* Added docsting in function clear_from_df() and changed some variable names

* Reverted auto formatting

* Minor changes in docstring and switched to mdxpy Functions to build the query in clear_from_df

* Rename to clear_with_dataframe

Successor of #1026

* clear_with_dataframe verify column uniqueness

* Update CellService.py

Add get_values()

* Refactor get_values

use mdxpy in get_values

* Fix return_async_id parameter

* LoggerService initial commit

* LoggerService to __init__.py

* LoggerService to TM1Service.py

* Update ServerService.py

remove logger functions that are now part of separate LoggerService

* indent fix

* AuditLogService require admin update

* ConfigurationService require admin update

* MessageLogService require admin update

* TransactionLogService require admin update

---------

Co-authored-by: Enis Isufi <Enis.Isufi@deutschebahn.com>
Co-authored-by: Karen Wong <wongkayankaren@gmail.com>
Co-authored-by: MariusWirtz <MariusWirtz2@gmail.com>
Co-authored-by: Wim Gielis <wim.gielis@gmail.com>
Co-authored-by: VVM <vvmits98@gmail.com>
Co-authored-by: Enis Isufi <enis_isufi88@hotmail.com>
Co-authored-by: Ray Price <raeldor@gmail.com>
MariusWirtz added a commit that referenced this pull request Jan 26, 2024
* Initial Commit. Added two functions create_blank_dimension and create_blank_cube_and_dimensions in Utils/Utils.py

* require admin utils

adding other admin types require

* NotAdmin exceptions

exceptions for other admin types

* other admin types

adding other admin types

* other admin types property

* updated admin requirements

* updated admin requirements

* updated admin requirements

* update admin requirements

* updated admin requirements

* update admin requirements

* admin requirement update

* Update HierarchyService.py

* Update Utils.py

other NotAdmin exceptions

* Update ServerService bug fix

* Update MonitoringService require admin bug fix

* Update SecurityService require admin bug fix

* Update CellService require admin bug fix

* Update User other admin properties

* Update HierarchyService bug fix

update_or_create_hierarchy_from_dataframe requires both data and ops admin

* added update_or_create function in ElementService.py

* Update ElementService.py

solved exists function bug

* Add allow_empty_alias argument to get_elements_df

Fixes #999

* Fix allow_empty_alias mixed edge case

* Update Chore.py

Add: execution_path. Idea: 1 chore as a dictionary with its called processes (in order). Not parameters and no other information. Useful for building a tree of chores ==> processes ==> their called processes.

* Update Chore.py

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Hotfix require_admin decorator

* New extract_cellset_axes_raw_async and extract_cellset_cells_raw_async were added to extract raw data from TM1 asynchronously. Demonstrate efficiency in retrieving large datasets with > 1M cells and can be further used to create asynchronous execute_mdx.

extract_cellset_axes_cardinality was also added to retrieve cellset cardinality

* Drop api/v1/ in url in async functions

* Hotfix add missing slash in is_admin

* Fix issue 997

Remove obsolete and unexpected records in shaped df response on
execute_view, execute_mdx functions

* Logger methods

* loggers bug fix 1

* logger_get_all_names refactor

* logger functions rename

* Created new function clear_from_df()

* Added docsting in function clear_from_df() and changed some variable names

* Reverted auto formatting

* Minor changes in docstring and switched to mdxpy Functions to build the query in clear_from_df

* Rename to clear_with_dataframe

Successor of #1026

* clear_with_dataframe verify column uniqueness

* Update CellService.py

Add get_values()

* Refactor get_values

use mdxpy in get_values

* Fix return_async_id parameter

* LoggerService initial commit

* LoggerService to __init__.py

* LoggerService to TM1Service.py

* Update ServerService.py

remove logger functions that are now part of separate LoggerService

* indent fix

* AuditLogService require admin update

* ConfigurationService require admin update

* MessageLogService require admin update

* TransactionLogService require admin update

---------

Co-authored-by: Enis Isufi <Enis.Isufi@deutschebahn.com>
Co-authored-by: Karen Wong <wongkayankaren@gmail.com>
Co-authored-by: MariusWirtz <MariusWirtz2@gmail.com>
Co-authored-by: Wim Gielis <wim.gielis@gmail.com>
Co-authored-by: VVM <vvmits98@gmail.com>
Co-authored-by: Enis Isufi <enis_isufi88@hotmail.com>
Co-authored-by: Ray Price <raeldor@gmail.com>
autoneurino pushed a commit to Kevin-Dekker/tm1py that referenced this pull request Jan 27, 2024
* Initial Commit. Added two functions create_blank_dimension and create_blank_cube_and_dimensions in Utils/Utils.py

* require admin utils

adding other admin types require

* NotAdmin exceptions

exceptions for other admin types

* other admin types

adding other admin types

* other admin types property

* updated admin requirements

* updated admin requirements

* updated admin requirements

* update admin requirements

* updated admin requirements

* update admin requirements

* admin requirement update

* Update HierarchyService.py

* Update Utils.py

other NotAdmin exceptions

* Update ServerService bug fix

* Update MonitoringService require admin bug fix

* Update SecurityService require admin bug fix

* Update CellService require admin bug fix

* Update User other admin properties

* Update HierarchyService bug fix

update_or_create_hierarchy_from_dataframe requires both data and ops admin

* added update_or_create function in ElementService.py

* Update ElementService.py

solved exists function bug

* Add allow_empty_alias argument to get_elements_df

Fixes cubewise-code#999

* Fix allow_empty_alias mixed edge case

* Update Chore.py

Add: execution_path. Idea: 1 chore as a dictionary with its called processes (in order). Not parameters and no other information. Useful for building a tree of chores ==> processes ==> their called processes.

* Update Chore.py

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Update TM1py/Services/RestService.py

Co-authored-by: Marius Wirtz <MariusWirtz2@gmail.com>

* Hotfix require_admin decorator

* New extract_cellset_axes_raw_async and extract_cellset_cells_raw_async were added to extract raw data from TM1 asynchronously. Demonstrate efficiency in retrieving large datasets with > 1M cells and can be further used to create asynchronous execute_mdx.

extract_cellset_axes_cardinality was also added to retrieve cellset cardinality

* Drop api/v1/ in url in async functions

* Hotfix add missing slash in is_admin

* Fix issue 997

Remove obsolete and unexpected records in shaped df response on
execute_view, execute_mdx functions

* Logger methods

* loggers bug fix 1

* logger_get_all_names refactor

* logger functions rename

* Created new function clear_from_df()

* Added docsting in function clear_from_df() and changed some variable names

* Reverted auto formatting

* Minor changes in docstring and switched to mdxpy Functions to build the query in clear_from_df

* Rename to clear_with_dataframe

Successor of cubewise-code#1026

* clear_with_dataframe verify column uniqueness

* Update CellService.py

Add get_values()

* Refactor get_values

use mdxpy in get_values

* Fix return_async_id parameter

* LoggerService initial commit

* LoggerService to __init__.py

* LoggerService to TM1Service.py

* Update ServerService.py

remove logger functions that are now part of separate LoggerService

* indent fix

* AuditLogService require admin update

* ConfigurationService require admin update

* MessageLogService require admin update

* TransactionLogService require admin update

---------

Co-authored-by: Enis Isufi <Enis.Isufi@deutschebahn.com>
Co-authored-by: Karen Wong <wongkayankaren@gmail.com>
Co-authored-by: MariusWirtz <MariusWirtz2@gmail.com>
Co-authored-by: Wim Gielis <wim.gielis@gmail.com>
Co-authored-by: VVM <vvmits98@gmail.com>
Co-authored-by: Enis Isufi <enis_isufi88@hotmail.com>
Co-authored-by: Ray Price <raeldor@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants