Skip to content

v0.5.4.3

Compare
Choose a tag to compare
@victorterpstra victorterpstra released this 22 Apr 02:28
· 169 commits to master since this release
8eadb3f

[0.5.4.3] - 2022-04-21

Changed

  • Fixed indentation bug in domodeldeployer
  • Update of CONTRIBUTING.md
  • Format thousands for num rows in db-insert progress print message

Added

  • DOModelDeployer support for gz/zip package files
  • ScenarioManager.load_data_from_parquet and .write_data_to_parquet
  • ScenarioDbManager.init added parameter enable_debug_print to print connection string

[Unreleased]## [0.5.4.3b0]

Changed

  • Fixed bug in ScenarioDbManager._check_schema_name if schema is None (e.g. when using SQLite)
  • ScenarioDbTable.insert_table_in_db_bulk selects columns present in both the df and the schema. Avoids error when column is defined in DB but not in df.

Added

  • Added 'group' as reserved table name
  • Added local_relative_data_path in ScenarioManager.init() to allow more flexibility in defining local paths
  • ScenarioDbManager.init added parameter enable_astype: bool = True: If True, force data-type of DataFrame to match schema before (bulk) insert.