From 44882a3c449181ce9e6184fec3e00c8e6ee27bd6 Mon Sep 17 00:00:00 2001 From: philippeitis <33013301+philippeitis@users.noreply.github.com> Date: Fri, 7 Oct 2022 20:44:31 -0700 Subject: [PATCH] use chrono::Duration instead of custom client type --- src/generator/lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator/lib/util.py b/src/generator/lib/util.py index 5fa6bff15c..2508797d88 100644 --- a/src/generator/lib/util.py +++ b/src/generator/lib/util.py @@ -41,7 +41,7 @@ TYPE_MAP = { 'date-time': CHRONO_DATETIME, 'date': CHRONO_DATETIME, # custom impl - 'google-duration': 'client::types::Duration', + 'google-duration': 'client::chrono::Duration', # guessing bytes is universally url-safe b64 "byte": "Vec", # TODO: Provide support for these as well