pypath.internals.resource.NetworkResourceKey§
- class pypath.internals.resource.NetworkResourceKey(*args, **kwargs)[source]§
Bases:
NetworkResourceKeyBase
- __init__()§
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 3
Alias for field number 1
Alias for field number 2
Returns (str): A label containing the resource name, and if it's a secondary resource, the name of the primary resource separated by an underscore.
Returns (str): The name of the resource where the data directly came from ignoring the primary resource.
Alias for field number 0
Alias for field number 4
- count(value, /)§
Return number of occurrences of value.
- data_model§
Alias for field number 3
- data_type§
Alias for field number 1
- index(value, start=0, stop=9223372036854775807, /)§
Return first index of value.
Raises ValueError if the value is not present.
- interaction_type§
Alias for field number 2
- property label§
Returns (str): A label containing the resource name, and if it’s a
secondary resource, the name of the primary resource separated by an underscore.
- property last§
Returns (str): The name of the resource where the data directly came from
ignoring the primary resource.
- name§
Alias for field number 0
- via§
Alias for field number 4