Skip to content

Commit 4dbf692

Browse files
committed
Move quickstart sample into its own subdirectory
1 parent 55977c0 commit 4dbf692

File tree

9 files changed

+20
-3
lines changed

9 files changed

+20
-3
lines changed

packages/google-cloud-bigquery-storage/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ API Reference
2020
Example Usage
2121
-------------
2222

23-
.. literalinclude:: samples/quickstart.py
23+
.. literalinclude:: samples/quickstart/quickstart.py
2424
:language: python
2525
:dedent: 4
2626
:start-after: [START bigquerystorage_quickstart]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2020 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.

packages/google-cloud-bigquery-storage/samples/tests/quickstart_test.py renamed to packages/google-cloud-bigquery-storage/samples/quickstart/quickstart_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import pytest
1919

20-
from .. import quickstart
20+
from . import quickstart
2121

2222

2323
def now_millis():
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest==6.0.1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fastavro
2+
google-cloud-bigquery-storage==1.0.0

packages/google-cloud-bigquery-storage/samples/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/google-cloud-bigquery-storage/samples/tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)