-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: librarian time check #594
Conversation
c63ff53
to
20c8a30
Compare
if language in CLEANUP_IMPORT_LANGUAGES: | ||
remove_unused_imports(output_path, language) | ||
if language in REMOVE_DUPLICATE_IMPORT_LANGUAGES: | ||
remove_duplicate_imports(output_path, language) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to create a different PR which has less commits. This PR has 9 commits.
Changes looks good, I have tested code is getting generated within 20 seconds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It takes 20 seconds because we are passing directory, If file is passed it takes more time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get approval from @AsabuHere as well.
@@ -62,18 +74,17 @@ def generate_domain_for_language(spec_file: str, config_path: str, spec_folder: | |||
'arrayItemSuffix': '' | |||
}, | |||
} | |||
|
|||
# print(config) | |||
with open(full_config_path, 'w') as f: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Quality Gate passed for 'twilio-oai-generator-php'Issues Measures |
Quality Gate passed for 'twilio-oai-generator-ruby'Issues Measures |
Quality Gate passed for 'twilio-oai-generator-python'Issues Measures |
Quality Gate passed for 'twilio-oai-generator-java'Issues Measures |
Quality Gate passed for 'twilio-oai-generator-node'Issues Measures |
Removing run_openapi_generator from for loop which was causing too much delay with pipelines
Removing run_openapi_generator from for loop which was causing too much delay with pipelines
Removing run_openapi_generator from for loop which was causing too much delay with pipelines