In Python 3.8+, you can create a dictionary with type annotations with the TypedDict class in the typing module. This is a regular dictionary that allows you to define it with…
Posts for: #Writing-Projects
Setting Pynamo Model’s Table After Instantiation
In some cases you may not know the table for a Pynamo model until you instantiate it. You can’t do this when you construct the object, but you can create a static method that…
Input and Output Channels for Sagemaker Training Jobs
With SageMaker training jobs, you specify an “input channel” and configure it in the job definition. Each channel is a dictionary that specifies the data split. Each of these…