Skip to content
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

fix(python): properly remove existing codegen #3056

Merged
merged 4 commits into from May 14, 2024
Merged

fix(python): properly remove existing codegen #3056

merged 4 commits into from May 14, 2024

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Apr 30, 2024

🧭 What and Why

Models were not properly removed

@millotp millotp self-assigned this Apr 30, 2024
@millotp millotp requested a review from a team as a code owner April 30, 2024 15:22
@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 30, 2024

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@@ -66,8 +66,8 @@ export async function removeExistingCodegen({
case 'python':
clientModel = toSnakeCase(clientName);
clientApi = toSnakeCase(clientName);
baseModelFolder = '';
baseApiFolder = '';
baseModelFolder = 'algoliasearch/models';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this folder doesn't exist it's algoliasearch/*/models

Copy link

github-actions bot commented Apr 30, 2024

@github-actions github-actions bot temporarily deployed to pull request April 30, 2024 15:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request May 14, 2024 12:05 Inactive
@millotp millotp requested a review from shortcuts May 14, 2024 12:27
@millotp millotp enabled auto-merge (squash) May 14, 2024 14:42
@github-actions github-actions bot temporarily deployed to pull request May 14, 2024 14:58 Inactive
@millotp millotp merged commit 1c6364c into main May 14, 2024
25 checks passed
@millotp millotp deleted the fix/python-rm branch May 14, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants