mirror of
https://github.com/github/codeql.git
synced 2026-06-17 02:41:08 +02:00
10 lines
171 B
Python
10 lines
171 B
Python
import dataclasses
|
|
import typing
|
|
|
|
import module3
|
|
|
|
@dataclasses.dataclass()
|
|
class Bar:
|
|
def is_in_foo(self, foo: module3.Foo): # $ Alert
|
|
return self in foo.bars
|