|
9 | 9 | class Endpoint(): # pylint: disable=too-few-public-methods |
10 | 10 | """RPC Endpoint class, to store metadata.""" |
11 | 11 |
|
12 | | - def __init__( # pylint: disable=too-many-arguments |
13 | | - self, url, provider, blockchain, network_name, network_type, |
| 12 | + def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments |
| 13 | + self, url, provider, blockchain, network_name, network_type, integration_maturity, |
| 14 | + canonical_name, chain_selector, |
14 | 15 | chain_id, **client_parameters): |
15 | 16 | self.url = url |
16 | 17 | self.chain_id = chain_id |
17 | 18 | self.labels = [ |
18 | | - url, provider, blockchain, network_name, network_type, |
| 19 | + url, provider, blockchain, network_name, network_type, integration_maturity, |
| 20 | + canonical_name, str(chain_selector), |
19 | 21 | str(chain_id) |
20 | 22 | ] |
21 | 23 | self.client_parameters = client_parameters |
@@ -50,6 +52,9 @@ def get_endpoint_registry(self) -> list: |
50 | 52 | self.blockchain, |
51 | 53 | self.get_property('network_name'), |
52 | 54 | self.get_property('network_type'), |
| 55 | + self.get_property('integration_maturity'), |
| 56 | + self.get_property('canonical_name'), |
| 57 | + self.get_property('chain_selector'), |
53 | 58 | self.get_property('chain_id'), |
54 | 59 | **self.client_parameters)) |
55 | 60 | return endpoints_list |
|
0 commit comments