-
-
Save undingen/79ca5da48c97562c0db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enclosing_stmt: #7 = #5._is_column(#6) | |
after_expr: #16.get(#17, #18) | |
39 blocks | |
Block 0 'entry'; Predecessors: Successors: 1 2 | |
"generate/update a :class:`.ColumnProprerty` given a | |
:class:`.Column` object. " | |
#0 = util | |
#1 = prop | |
#2 = #0.to_list(#1) | |
columns = #2 | |
#3 = columns | |
#4 = #3[0] | |
column = #4 | |
#5 = expression | |
#6 = column | |
#7 = #5._is_column(#6) | |
#8 = not (#7) | |
if :NONZERO(#8) goto 1 else goto 2 | |
Block 1 'iftrue'; Predecessors: 0 Successors: | |
#9 = sa_exc | |
#10 = key | |
#11 = prop | |
#12 = (#10, #11) | |
#13 = "%s=%r is not an instance of MapperProperty or Column"%#12 | |
#14 = #9.ArgumentError(#13) | |
raise #14 | |
Block 2 'iffalse'; Predecessors: 0 Successors: 4 21 | |
#15 = self | |
#16 = #15._props | |
#17 = key | |
#18 = None | |
#19 = #16.get(#17, #18) | |
prop = #19 | |
#20 = isinstance | |
#21 = prop | |
#22 = properties | |
#23 = #22.ColumnProperty | |
#24 = #20(#21, #23) | |
if :NONZERO(#24) goto 4 else goto 21 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment