8000 Change Endpoints Frameworks samples to import from endpoints (#1542) · jmcarp/python-docs-samples@6879d73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6879d73

Browse files
inklesspenSimon Zeltser
authored andcommitted
Change Endpoints Frameworks samples to import from endpoints (GoogleCloudPlatform#1542)
* Update Endpoints Framework for Python dependencies. These stopped being auto-updated sometime in March; that's bad. * Change Endpoints Frameworks samples to import from endpoints Instead of importing from protorpc, import from endpoints.
1 parent 5eea9c3 commit 6879d73

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

appengine/standard/endpoints-frameworks-v2/echo/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323
# [END imports]
2424

2525

appengine/standard/endpoints-frameworks-v2/echo/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
import endpoints
16+
from endpoints import message_types
1617
import mock
17-
from protorpc import message_types
1818
import pytest
1919

2020
import main
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-endpoints==3.0.0
2-
google-endpoints-api-management==1.5.1
1+
google-endpoints==4.4.0
2+
google-endpoints-api-management==1.8.0

appengine/standard/endpoints-frameworks-v2/iata/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323

2424
from data import AIRPORTS
2525
# [END imports]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-endpoints==3.0.0
2-
google-endpoints-api-management==1.5.1
1+
google-endpoints==4.4.0
2+
google-endpoints-api-management==1.8.0

appengine/standard/endpoints-frameworks-v2/quickstart/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# [START imports]
1919
import endpoints
20-
from protorpc import message_types
21-
from protorpc import messages
22-
from protorpc import remote
20+
from endpoints import message_types
21+
from endpoints import messages
22+
from endpoints import remote
2323
# [END imports]
2424

2525

appengine/standard/endpoints-frameworks-v2/quickstart/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from endpoints import message_types
1516
import mock
16-
from protorpc import message_types
1717

1818
import main
1919

0 commit comments

Comments
 (0)
0