File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1616# See the License for the specific language governing permissions and
1717# limitations under the License.
1818#
19+ import os
1920
2021# Provides a set of default settings that env vars can replace
21-
2222# Nitric Membrane Service Address
23- SERVICE_BIND = "127.0.0.1:50051"
24- # Child Process (User Code) Host Address
25- CHILD_ADDRESS = "127.0.0.1:8080"
23+ SERVICE_BIND = os .environ .get ('SERVICE_ADDRESS' , '127.0.0.1:50051' );
24+
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2021 Nitric Technologies Pty Ltd.
3+ #
4+ # This file is part of Nitric Python 3 SDK.
5+ # See https://github.com/nitrictech/python-sdk for further info.
6+ #
7+ # Licensed under the Apache License, Version 2.0 (the "License");
8+ # you may not use this file except in compliance with the License.
9+ # You may obtain a copy of the License at
10+ #
11+ # http://www.apache.org/licenses/LICENSE-2.0
12+ #
13+ # Unless required by applicable law or agreed to in writing, software
14+ # distributed under the License is distributed on an "AS IS" BASIS,
15+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ # See the License for the specific language governing permissions and
17+ # limitations under the License.
18+ #
119from __future__ import annotations
220
321import asyncio
You can’t perform that action at this time.
0 commit comments