Skip to main content

LocationModel

Version: v2.1.0

Stored entity

Partition key pk, sort key sk

Overview

Location model

Fields

FieldTypeRequiredDefaultDescription
pkstr
skstr
typestr
tenant_idstr
location_idstr
location_namestr
location_tagList[str]
is_in_yardbool
created_atstr
updated_atstr
meta_datadict

APIs / Triggers

TriggerEndpoint / SourceDetailHandler
APIPOST /newlocation/src/location_post.py
APIDELETE /newlocation/src/location_delete.py
StreamDynamoDB streamtable items where type = LOCATIONsrc/location_algolia_sync.py
StreamDynamoDB streamtable items where type = LOCATIONsrc/history/location_history_process.py
APIGET /newlocation/historysrc/history/location_history_get.py
EventEventBridgeLocationSelfHealRequestedsrc/location_self_heal.py

Change history

v2.1.0 · 2026-06-04 · Cian (shared account) · c2d767f57

Codex worktree snapshot: startup-cleanup

  • Added optional field meta_data.
v2.0.0 · 2025-03-31 · Cian (shared account) · de01d8e47

location

  • Field is_in_yard type changed: Optional[bool] → bool (breaking).
  • Field is_in_yard became required (breaking).
  • Field location_id type changed: Optional[str] → str (breaking).
  • Field location_id became required (breaking).
  • Field location_name type changed: Optional[str] → str (breaking).
  • Field location_name became required (breaking).
  • Field location_tag type changed: Optional[list] → List[str] (breaking).
  • Field location_tag became required (breaking).
v1.0.0 · 2025-03-15 · Olaniyi Ajayi · 338416124

fx

  • Initial version.

Generated from dismantly-backend/Microservices/Location/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC