Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /jdrumgoole_winebox /winebox /models /__init__.py
| """MongoDB document models for WineBox.""" | |
| from winebox.models.wine import Wine, WineCollection, InventoryInfo, GrapeBlendEntry, ScoreEntry | |
| from winebox.models.transaction import Transaction, TransactionType, RemovalReason | |
| from winebox.models.user import User | |
| from winebox.models.wine_type import WineType | |
| from winebox.models.grape_variety import GrapeVariety | |
| from winebox.models.region import Region | |
| from winebox.models.classification import Classification | |
| from winebox.models.xwines import XWinesWine, XWinesMetadata | |
| from winebox.models.import_batch import ImportBatch, ImportStatus | |
| from winebox.models.import_batch_row import RawUploadRow | |
| from winebox.models.cellar import CellarItem, EmbeddedWine | |
| from winebox.models.cellar_event import CellarEvent, CellarEventType | |
| from winebox.models.price_capture import CaptureType, ShopLocation, GeoCoordinates | |
| from winebox.models.wine_price import WinePrice, WinePriceHistory, PriceEntry, PriceSource | |
| __all__ = [ | |
| # Main documents | |
| "Wine", | |
| "WineCollection", | |
| "Transaction", | |
| "TransactionType", | |
| "RemovalReason", | |
| "User", | |
| # Embedded subdocuments | |
| "InventoryInfo", | |
| "GrapeBlendEntry", | |
| "ScoreEntry", | |
| # Reference data documents | |
| "WineType", | |
| "GrapeVariety", | |
| "Region", | |
| "Classification", | |
| # X-Wines reference data | |
| "XWinesWine", | |
| "XWinesMetadata", | |
| # Import | |
| "ImportBatch", | |
| "ImportStatus", | |
| "RawUploadRow", | |
| # Cellar (document-oriented replacement) | |
| "CellarItem", | |
| "EmbeddedWine", | |
| "CellarEvent", | |
| "CellarEventType", | |
| # Price tracker | |
| "WinePrice", | |
| "WinePriceHistory", | |
| "PriceEntry", | |
| "PriceSource", | |
| "CaptureType", | |
| "ShopLocation", | |
| "GeoCoordinates", | |
| ] | |
Xet Storage Details
- Size:
- 1.71 kB
- Xet hash:
- a910c31d027fc1cdcc21cd4e45d83640a0fb26853753af4554a704111054b01e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.