Skip to content

Commit d996c2d

Browse files
authored
1 parent 554329e commit d996c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library_generation/model/library_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
from hashlib import sha1
15+
from hashlib import sha256
1616

1717
from typing import Optional
1818
from library_generation.model.gapic_config import GapicConfig
@@ -117,7 +117,7 @@ def __eq__(self, other):
117117
)
118118

119119
def __hash__(self):
120-
m = sha1()
120+
m = sha256()
121121
m.update(
122122
str(
123123
[

0 commit comments

Comments
 (0)