Skip to content

Commit

Permalink
Automated pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
rushilpatel0 authored and github-actions[bot] committed Jan 16, 2025
1 parent 3c817f2 commit d2cfe86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/codegen/cli/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ def identify(self) -> IdentifyResponse | None:
IdentifyResponse,
)

def deploy(self, codemod_name: str,
codemod_source: str, lint_mode: bool = False,
def deploy(self, codemod_name: str,
codemod_source: str, lint_mode: bool = False,
lint_user_whitelist: list[str] | None = None,
message: str | None = None,
message: str | None = None,
arguments_schema: dict | None = None) -> DeployResponse:
"""Deploy a codemod to the Modal backend."""
session = CodegenSession()
Expand Down
3 changes: 2 additions & 1 deletion src/codegen/cli/utils/json_schema.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import json
from pydantic import BaseModel
from pathlib import Path
from tempfile import TemporaryDirectory

from datamodel_code_generator import DataModelType, InputFileType, generate
from pydantic import BaseModel

# This utility contains functions for utilizing, transforming and validating JSON schemas generated by Pydantic models.

Expand Down

0 comments on commit d2cfe86

Please sign in to comment.