domainiac 8.0.6__tar.gz → 8.0.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: domainiac
3
- Version: 8.0.6
3
+ Version: 8.0.7
4
4
  Summary: Package for working with Energinet data, but with specialized functions used for Enigma.
5
5
  Author: Team Enigma
6
6
  Author-email: gridop-enigma@energinet.dk
@@ -28,6 +28,7 @@ class MasterdataManager:
28
28
  def _get_operational_entities(self, table: str) -> pd.DataFrame:
29
29
  filters = {"standing_entity_state": "InOperation"}
30
30
  df = self.db.query(table, filters=filters)
31
+ df = df[df["decommission_date_utc"].isna()].reset_index(drop=True)
31
32
  return df
32
33
 
33
34
  @typechecked
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "domainiac"
3
- version = "8.0.6"
3
+ version = "8.0.7"
4
4
  description = "Package for working with Energinet data, but with specialized functions used for Enigma."
5
5
  authors = ["Team Enigma <gridop-enigma@energinet.dk>"]
6
6
  packages = [