Skip to content

Commit 6c3f4c1

Browse files
authored
fix(python): Delete the redundant code in typedef (#2600)
<!-- **Thanks for contributing to Apache Fory™.** **If this is your first time opening a PR on fory, you can refer to [CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).** Contribution Checklist - The **Apache Fory™** community has requirements on the naming of pr titles. You can also find instructions in [CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md). - Apache Fory™ has a strong focus on performance. If the PR you submit will have an impact on performance, please benchmark it first and provide the benchmark result here. --> ## Why? <!-- Describe the purpose of this PR. --> ## What does this PR do? <!-- Describe the details of this PR. --> ## Related issues <!-- Is there any related issue? If this PR closes them you say say fix/closes: - #xxxx0 - #xxxx1 - Fixes #xxxx2 --> ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fory/issues/new/choose) describing the need to do so and update the document if necessary. Delete section if not applicable. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. Delete section if not applicable. -->
1 parent b33b034 commit 6c3f4c1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

python/pyfory/meta/typedef.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ def build_field_infos(type_resolver, cls):
241241
def build_field_type(type_resolver, field_name: str, type_hint, visitor):
242242
"""Build field type from type hint."""
243243
type_ids = infer_field(field_name, type_hint, visitor)
244-
print(f"=??????????=> {field_name, type_hint, visitor, type_ids}")
245244
return build_field_type_from_type_ids(type_resolver, field_name, type_ids, visitor)
246245

247246

0 commit comments

Comments
 (0)