Skip to content

Commit 02819b9

Browse files
migeed-zmeta-codesync[bot]
authored andcommitted
Remove unnecessary django check for getter support
Reviewed By: rchen152 Differential Revision: D84183725 fbshipit-source-id: 64bfb8bae3d37a12d9228ead7e81da8416a3d9f7
1 parent e7191b3 commit 02819b9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pyrefly/lib/alt/class/class_field.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,10 +1632,6 @@ impl<'a, Ans: LookupAnswer> AnswersSolver<'a, Ans> {
16321632
annotation,
16331633
..
16341634
} => {
1635-
// Apply Django _Getter resolution
1636-
if let Some(resolved_ty) = self.get_django_field_type(&ty, instance.class) {
1637-
ty = resolved_ty;
1638-
}
16391635
let is_class_var = annotation.is_some_and(|ann| ann.is_class_var());
16401636
match field.initialization() {
16411637
ClassFieldInitialization::ClassBody(_) => {

0 commit comments

Comments
 (0)