Skip to content

Commit 20202ab

Browse files
committed
Python: Deprecate AttributeName
1 parent 7eb4419 commit 20202ab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/ql/lib/semmle/python/dataflow/new/TypeTracking.qll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ private import internal.TypeTrackingImpl as Impl
77
import Impl::Shared::TypeTracking<Impl::TypeTrackingInput>
88
private import semmle.python.dataflow.new.internal.DataFlowPublic as DataFlowPublic
99

10-
/** A string that may appear as the name of an attribute or access path. */
11-
class AttributeName = Impl::TypeTrackingInput::Content;
10+
/**
11+
* DEPRECATED.
12+
*
13+
* A string that may appear as the name of an attribute or access path.
14+
*/
15+
deprecated class AttributeName = Impl::TypeTrackingInput::Content;
1216

1317
/**
1418
* A summary of the steps needed to track a value to a given dataflow node.

0 commit comments

Comments
 (0)