talentro-commons 0.19.12__py3-none-any.whl → 0.19.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
talentro/util/string.py CHANGED
@@ -1,11 +1,11 @@
1
1
  import string
2
2
 
3
- def render_template_path(template: str, values: dict | None) -> str:
3
+ def render_template_path(template: str, values: dict | None = None) -> str:
4
4
  formatter = string.Formatter()
5
5
 
6
6
  required_fields = [field for _, field, _, _ in formatter.parse(template) if field]
7
7
 
8
- if required_fields is None or required_fields is []:
8
+ if not required_fields:
9
9
  return template
10
10
 
11
11
  if not values:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talentro-commons
3
- Version: 0.19.12
3
+ Version: 0.19.13
4
4
  Summary: This package contains all globally used code, services, models and data structures for Talentro
5
5
  License: Proprietary
6
6
  Author: Emiel van Essen
@@ -33,12 +33,12 @@ talentro/util/attributes.py,sha256=PgJnn9LMtHkiNIaMov2HQt5944HweD6gRlAHBZrJGPA,4
33
33
  talentro/util/enum.py,sha256=YftsoJKnrn8HAjA2Q1tqIYBMrNnlq6m1b34N8hfykbE,155
34
34
  talentro/util/files.py,sha256=0pfISW89XC5kNyFooHebjVdmMnP-L49uIpKY5DjGuN4,176
35
35
  talentro/util/singleton.py,sha256=nM5XgRa75xF6gX4BZKlkvjtZJQ3OFFEsANLVLnsyxmM,635
36
- talentro/util/string.py,sha256=i8oODLdCj6F3-9jgdgyLzNfoMM3i5ee_8SkovENnw5s,568
36
+ talentro/util/string.py,sha256=_ZHZIvcnHWFqhqSnYGdmSQ9EE_eNySftkfIy-S7myiM,546
37
37
  talentro/util/vacancy.py,sha256=mZ_ruL_YPsbJjaUEti78_6TumXhOGAY7Taa2JvXkTkg,1067
38
38
  talentro/vacancies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  talentro/vacancies/dataclasses.py,sha256=E6H5fsZH4IwtBFSLDolzF6u39tEIrANtWiNVoB65P0c,15074
40
40
  talentro/vacancies/models.py,sha256=GoXr71CNzU6csf8gdmv84etb3Rm-Cdfigp1yqPI_jjQ,4822
41
41
  talentro/vacancies/taxanomy.py,sha256=K3f0yD5g-oxhLXSYNY4WSsGzBfBIb6ngsTDVNGbqO30,6324
42
- talentro_commons-0.19.12.dist-info/METADATA,sha256=qxFyRelh2Sff-nm5okPzWydybJn3ffVYHwkGiy9AzKQ,1508
43
- talentro_commons-0.19.12.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
44
- talentro_commons-0.19.12.dist-info/RECORD,,
42
+ talentro_commons-0.19.13.dist-info/METADATA,sha256=S2UD-X8EJanFL_Csj2Ufg9DVgnXDhFnItgh6qG6DwqI,1508
43
+ talentro_commons-0.19.13.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
44
+ talentro_commons-0.19.13.dist-info/RECORD,,