Skip to content

added codegen#344

Open
philipjusher wants to merge 6 commits into
mainfrom
feature/api-generator
Open

added codegen#344
philipjusher wants to merge 6 commits into
mainfrom
feature/api-generator

Conversation

@philipjusher

Copy link
Copy Markdown
Collaborator

This pull request introduces a new Python client library for the ConceptEV-API, including initial project scaffolding, documentation, and implementations for several API endpoints. The changes establish the foundation for interacting with the API in both synchronous and asynchronous ways, and provide developer guidance for usage and customization.

Project scaffolding and documentation:

  • Added a comprehensive README.md with usage examples, authentication details, advanced customization options, and instructions for building/publishing the package.
  • Created a .gitignore to exclude Python build artifacts, environment files, IDE settings, and coverage reports.

Client library structure:

  • Implemented package initialization in conceptev_api_client/__init__.py, exposing Client and AuthenticatedClient for use.
  • Added module docstrings for the API and its submodules to clarify their purpose. [1] [2]

API endpoint implementations:

  • Added create_architectures_architectures_post.py to support creating architectures via POST, with both sync and async methods, parameter handling, and response parsing.
  • Added delete_architecture_architectures_item_id_delete.py to support deleting architectures by ID, including parameter handling, sync/async methods, and error handling.

@github-actions github-actions Bot added the enhancement New features or code improvements label Jun 3, 2026
pyansys-ci-bot and others added 5 commits June 3, 2026 16:50
…figurations

- Introduced `UploadedFile` model for handling file uploads with attributes like `cloud_path`, `file_name`, and `file_size`.
- Created `ValidationError` model to represent validation errors, including location, message, type, and context.
- Added `ValidationErrorContext` model for additional context related to validation errors.
- Implemented `VersionVersionGetResponseVersionVersionGet` model for version response handling.
- Defined `VoltageUnit`, `VolumeUnit`, and `VolumetricFlowRateUnit` with respective validation functions.
- Developed `WheelInDB` and `WheelInput` models for wheel configurations, including attributes for mass, cost, and traction coefficients.
- Added `WheelRollingResistanceConfigs` for managing rolling resistance configurations.
- Included a marker file for PEP 561 compliance and shared types for properties in `types.py`.
- Updated `tox.ini` to include a new environment for regenerating the API client from the OpenAPI specification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New features or code improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants