Skip to content

Commit 1552466

Browse files
committed
remove: unused import
1 parent 14401e1 commit 1552466

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/examples/auto-instrumentation/client.py

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

15-
from sys import argv
1615

1716
from requests import get
1817

@@ -31,16 +30,13 @@
3130
BatchSpanProcessor(ConsoleSpanExporter())
3231
)
3332

34-
35-
assert len(argv) == 2
36-
3733
with tracer.start_as_current_span("client"):
3834
with tracer.start_as_current_span("client-server"):
3935
headers = {}
4036
inject(headers)
4137
requested = get(
4238
"http://localhost:8082/server_request",
43-
params={"param": argv[1]},
39+
params={"param": "testing"},
4440
headers=headers,
4541
)
4642

0 commit comments

Comments
 (0)