Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docker:
digest: sha256:c66ba3c8d7bc8566f47df841f98cd0097b28fff0b1864c86f5817f4c8c3e8600
image: gcr.io/repo-automation-bots/owlbot-python:latest

19 changes: 19 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest

begin-after-commit-hash: be22498ce258bf2d5fe12fd696d3ad9a2b6c430e

File renamed without changes.
83 changes: 0 additions & 83 deletions synth.metadata

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@ def test_literal(self, literal_round_trip):
# The base tests doesn't set up the literal properly, because
# it doesn't pass its datatype to `literal`.

def literal(value):
def literal(value, type_=None):
assert value == self.data
if type_ is not None:
assert type_ is self.datatype

import sqlalchemy.sql.sqltypes

return sqlalchemy.sql.elements.literal(value, self.datatype)
Expand Down