►
From YouTube: Architecting Alice: Volume 0: System Context: Part 69:
B
A
C
A
Okay,
so
let
us
take
a
look
at
this,
so
we
were
looking
for
places
where.
A
Config
class
got
used
that
we
could
dump
the
object,
so
I
think
operation
source
config
class-
let's
go
this
one-
is
a
good
target,
so.
A
A
C
A
D
A
A
A
A
A
A
A
Not
ideal,
okay,
so
config
equals
data
classes
here.
So
let's
just
go
ahead
and
do
a
little
make
config
here
and
so
let's
see
df
based
off
make
config
right.
So
where
is
this
used?
A
E
E
A
A
E
A
A
A
So
let's
see
it's
weirdly.
C
E
A
Okay,
so
this
thing
says:
config
equals.
So
what
are
we
doing
here
right,
we're
making
a
configuration,
object
from
an
operation
and
then
we'll
throw
this
back
into
its
own
util,
but
for
now
we're
going
to
do
it
in
line
so
properties.
Okay,.
C
A
This
is
just
to
skip
the
self
parameter
here,
so
we
iterate
all
over
all
of
the
parameters
we
skip
anyone's
named
self,
just
in
case
the
operation
is
self-referencing
like
in
case.
It's
basically
like
a
method
off
of
something
effectively
is
the
way
it
gets.
It
turns
it
turns
into
an
operation,
implementation
class
and
an
operational
implementation
context
class,
and
if
you
do
inventor
or
ctx
enter
those
will
go
on
that
the
implementation
of
the
context
respectively.
A
So
and
and
then
you
might
use
self
within
the
function
so
for
the
for
the
for
the
data
flow
lifetime,
okay,
so
make
config.
E
A
A
A
With
input.
A
A
A
This
is
where
we
rebuilt
this
spec,
which
really
should
allow
for
a
plug-in.
C
A
A
E
A
Let's
avoid
doing
this
right
now,
let's
just
bail
on
this
whole
thing:
okay,
let's
bail
on
this
whole
thing,
I
don't
really
want
to
deal
with
the
cli
anymore.
This
is
this
is
just
yeah.
This
is
too
too
high
effort,
there's
probably
a
a
better
way
that
will
present
itself,
because
this
shouldn't
be.
B
A
Okay,
so
what
have
we
got
here?
Okay,
so
we
modified
this
cli
command
to
yeah
iterate
over
things
that
were
yeah.
We
wanted
to
add,
if
not
system
contacts,
so
else
go
through
the
operation-
okay,
yeah,
but
that's
not
what
we
should
be
doing
so
instead,
okay-
and
this
was
the
thing
I
realized
earlier-
instead
of
doing
the
thing
that
I
insisted-
we
do
we're
going
to
make
this
a
lot
hopefully
well.
A
Okay,
I
shouldn't
say
that
hopefully
we'll
just
make
this
easier
for
ourselves
by
just
adding
the
system
context
config
as
the
thing
that
we
target
here
so.
A
A
So
try
to
get
the
the
instance,
if
not
then
grab
the
class,
so
okay,
so,
for
instance,
so
don't
do
that
on
operation
system
context.
Config
object
has
no
attribute
qual
name.
C
A
E
A
A
Face
instance,
type
class
forward
ref.
Oh,
we
forgot
to
actually
do
the
resolve.
A
A
C
A
Okay,
so
we'll
say
here
so
so
in
dfml
util
python,
on
line
205
we're
adding
line
204
206
right
now.
We
have
this.
If
not
inspect
is
class
data
class
and
then
206
state
of
class
equals
data
class
that
underscore
underscore
class
underscore
underscore
and
on
line
205.
We're
writing
our
comment
that
says
check.
A
If
and
so
I
like
to
put
the
comments
within
the
block
in
python,
because
you
can't
always,
if
you
have
like
an
if
else
block,
you
can't
always
throw
it
above,
which
I
think
would
look
cleaner,
but
it
is
what
it
is
so
for
consistency.
I
I
would
say
you
know
I
would
advocate
for
consistency
over
like.
A
A
Okay,
so
check
if
data
class
is
an
instance,
if
so
grab
the
class.
C
A
Oh,
we
can
just
use
our
handy
dandy
comment
that
we
just
wrote.
C
A
A
If
field
that
name
equals
equals
upstream,
then
we
want
to
break
point
all
right.
So
what
the
hell
happened.
Basically.
C
A
Am
I
missing
something?
Why
are
these
upstreams
not
populated.
E
A
B
E
D
A
B
C
A
So
and
then,
finally,
so
first,
if
there's
a
default
set
it
if
there's
default,
factory
override
make
sure
it's
whatever
the
default
factory
is
and
then.
Finally,
if
you
find
in
fact
that
the,
if
not
inspect
or
if
is
instance,.
A
C
A
E
E
A
E
A
Okay,
so
why
now
the
question
is:
why
isn't
it
running
it
right?
So,
okay,
it
probably
doesn't
know
what
to
do
with
it,
but
this
run.
Cli
command
should
not
have
taken
care
of
it.
A
A
A
A
A
A
And
use
command
type,
not
sure
what
to
do
with
command
operation
exception.
C
E
E
E
A
C
A
E
A
A
Okay,
so
we
should
say:
okay
come
on
okay
yeah,
so
let's
do
to
do
is
also
accept.