nayaverdier / dyntastic

A DynamoDB library on top of Pydantic and boto3.
MIT License
57 stars 14 forks source link

Feature request: __table_host__ or endpoint_url #4

Closed bvsn closed 1 year ago

bvsn commented 1 year ago

Hi there 👋 Is there any way to set a custom endpoint_url for dynamodb? For local development, I'm using dynamodb docker image, so looking for a way how to set my http://localhost:8000 for boto3 resource/client 🤔

Any suggestions on how to set it up? Thanks in advance.

nayaverdier commented 1 year ago

@bvsn Hey, just released 0.9.0 with the option of setting __table_host__ as a class variable. Let me know if that works for you.

bvsn commented 1 year ago

Cool, will check and back to you soon 🙌

bvsn commented 1 year ago

It works perfectly, thank you.