@@ -122,7 +122,7 @@ async def dynamo_component_handler(
122122
123123
124124@router .get (
125- "/bento_repositories /{dynamo_component_name}" ,
125+ "/dynamo_repositories /{dynamo_component_name}" ,
126126 responses = {
127127 200 : {"description" : "Successful Response" },
128128 422 : {"description" : "Validation Error" },
@@ -169,16 +169,16 @@ async def get_dynamo_component(
169169 resource_type = ResourceType .DynamoComponent ,
170170 labels = [],
171171 description = dynamo_component .description ,
172- latest_bento = None
172+ latest_dynamo = None
173173 if not latest_dynamo_component_versions
174174 else latest_dynamo_component_versions [0 ],
175- latest_bentos = latest_dynamo_component_versions ,
176- n_bentos = len (dynamo_components ),
175+ latest_dynamos = latest_dynamo_component_versions ,
176+ n_dynamos = len (dynamo_components ),
177177 )
178178
179179
180180@router .post (
181- "/bento_repositories " ,
181+ "/dynamo_repositories " ,
182182 responses = {
183183 200 : {"description" : "Successful Response" },
184184 422 : {"description" : "Validation Error" },
@@ -240,14 +240,14 @@ async def create_dynamo_component(
240240 resource_type = ResourceType .DynamoComponent ,
241241 labels = [],
242242 description = db_dynamo_component .description ,
243- latest_bentos = None ,
244- latest_bento = None ,
245- n_bentos = 0 ,
243+ latest_dynamos = None ,
244+ latest_dynamo = None ,
245+ n_dynamos = 0 ,
246246 )
247247
248248
249249@router .get (
250- "/bento_repositories " ,
250+ "/dynamo_repositories " ,
251251 responses = {
252252 200 : {"description" : "Successful Response" },
253253 422 : {"description" : "Validation Error" },
@@ -375,7 +375,7 @@ async def dynamo_component_version_handler(
375375
376376
377377@router .get (
378- "/bento_repositories /{dynamo_component_name}/bentos /{version}" ,
378+ "/dynamo_repositories /{dynamo_component_name}/dynamos /{version}" ,
379379 responses = {
380380 200 : {"description" : "Successful Response" },
381381 422 : {"description" : "Validation Error" },
@@ -415,7 +415,7 @@ async def get_dynamo_component_version(
415415
416416
417417@router .post (
418- "/bento_repositories /{dynamo_component_name}/bentos " ,
418+ "/dynamo_repositories /{dynamo_component_name}/dynamos " ,
419419 responses = {
420420 200 : {"description" : "Successful Response" },
421421 422 : {"description" : "Validation Error" },
@@ -483,7 +483,7 @@ async def create_dynamo_component_version(
483483
484484
485485@router .get (
486- "/bento_repositories /{dynamo_component_name}/bentos " ,
486+ "/dynamo_repositories /{dynamo_component_name}/dynamos " ,
487487 responses = {
488488 200 : {"description" : "Successful Response" },
489489 422 : {"description" : "Validation Error" },
@@ -544,7 +544,7 @@ async def get_dynamo_component_versions(
544544
545545
546546@router .patch (
547- "/bento_repositories /{dynamo_component_name}/bentos /{version}" ,
547+ "/dynamo_repositories /{dynamo_component_name}/dynamos /{version}" ,
548548 responses = {
549549 200 : {"description" : "Successful Response" },
550550 422 : {"description" : "Validation Error" },
@@ -588,7 +588,7 @@ async def update_dynamo_component_version(
588588
589589
590590@router .put (
591- "/bento_repositories /{dynamo_component_name}/bentos /{version}/upload" ,
591+ "/dynamo_repositories /{dynamo_component_name}/dynamos /{version}/upload" ,
592592 responses = {
593593 200 : {"description" : "Successful Response" },
594594 422 : {"description" : "Validation Error" },
@@ -636,7 +636,7 @@ def generate_file_path(version) -> str:
636636
637637
638638@router .get (
639- "/bento_repositories /{dynamo_component_name}/bentos /{version}/download" ,
639+ "/dynamo_repositories /{dynamo_component_name}/dynamos /{version}/download" ,
640640 responses = {
641641 200 : {"description" : "Successful Response" },
642642 422 : {"description" : "Validation Error" },
@@ -672,7 +672,7 @@ async def download_dynamo_component_version(
672672
673673
674674@router .patch (
675- "/bento_repositories /{dynamo_component_name}/bentos /{version}/start_upload" ,
675+ "/dynamo_repositories /{dynamo_component_name}/dynamos /{version}/start_upload" ,
676676 responses = {
677677 200 : {"description" : "Successful Response" },
678678 422 : {"description" : "Validation Error" },
@@ -769,13 +769,13 @@ async def convert_dynamo_component_model_to_schema(
769769 name = entity .name ,
770770 resource_type = ResourceType .DynamoComponent ,
771771 labels = [],
772- latest_bento = (
772+ latest_dynamo = (
773773 None
774774 if not dynamo_component_version_schemas
775775 else dynamo_component_version_schemas [0 ]
776776 ),
777- latest_bentos = dynamo_component_version_schemas ,
778- n_bentos = total ,
777+ latest_dynamos = dynamo_component_version_schemas ,
778+ n_dynamos = total ,
779779 description = entity .description ,
780780 )
781781 )
@@ -832,7 +832,7 @@ async def convert_dynamo_component_version_model_to_schema(
832832 labels = [],
833833 manifest = entity .manifest ,
834834 updated_at = updated_at ,
835- bento_repository_uid = dynamo_component .id ,
835+ dynamo_repository_uid = dynamo_component .id ,
836836 # upload_started_at=upload_started_at,
837837 # upload_finished_at=upload_finished_at,
838838 transmission_strategy = TransmissionStrategy .Proxy ,
0 commit comments